Re-land r301697 "[IR] Make add/remove Attributes use AttrBuilder instead of Attribute...
authorReid Kleckner <rnk@google.com>
Tue, 2 May 2017 22:07:37 +0000 (22:07 +0000)
committerReid Kleckner <rnk@google.com>
Tue, 2 May 2017 22:07:37 +0000 (22:07 +0000)
commitee4930b6886d713778fff4de3948946c7658d9d9
tree24f60ae0cadbe03c5b098d2c86bba5ebfd88636f
parent65134057357725c245fcfeb4b588518ef6d6db20
Re-land r301697 "[IR] Make add/remove Attributes use AttrBuilder instead of AttributeList"

This time, I fixed, built, and tested clang.

This reverts r301712.

llvm-svn: 301981
15 files changed:
clang/lib/CodeGen/CGCall.cpp
clang/lib/CodeGen/CodeGenModule.cpp
clang/lib/CodeGen/TargetInfo.cpp
llvm/include/llvm/CodeGen/CommandFlags.h
llvm/include/llvm/IR/Attributes.h
llvm/include/llvm/IR/Function.h
llvm/lib/CodeGen/GlobalISel/CallLowering.cpp
llvm/lib/IR/Attributes.cpp
llvm/lib/IR/Function.cpp
llvm/lib/Target/Mips/Mips16HardFloat.cpp
llvm/lib/Transforms/Coroutines/CoroSplit.cpp
llvm/lib/Transforms/Instrumentation/DataFlowSanitizer.cpp
llvm/lib/Transforms/Instrumentation/MemorySanitizer.cpp
llvm/lib/Transforms/Scalar/RewriteStatepointsForGC.cpp
llvm/unittests/IR/AttributesTest.cpp