Skip to content
  • Akira Hatanaka's avatar
    Provide a way to specify inliner's attribute compatibility and merging. · c7dfb76f
    Akira Hatanaka authored
    This reapplies r252949. I've changed the type of FuncName to be
    std::string instead of StringRef in emitFnAttrCompatCheck.
    
    Original commit message for r252949:
    
    Provide a way to specify inliner's attribute compatibility and merging
    rules using table-gen. NFC.
    
    This commit adds new classes CompatRule and MergeRule to Attributes.td,
    which are used to generate code to check attribute compatibility and
    merge attributes of the caller and callee.
    
    rdar://problem/19836465
    
    llvm-svn: 252990
    c7dfb76f
Loading