]> granicus.if.org Git - llvm/commit
Revert r301697 "[IR] Make add/remove Attributes use AttrBuilder instead of AttributeList"
authorHans Wennborg <hans@hanshq.net>
Fri, 28 Apr 2017 23:01:32 +0000 (23:01 +0000)
committerHans Wennborg <hans@hanshq.net>
Fri, 28 Apr 2017 23:01:32 +0000 (23:01 +0000)
commitdfc1ffb1c979d8b7651a1aa98cf2d354cd8b6af4
tree0a96e207a0d9de05bbfa00ccd00e6d1ecd5857af
parent754511fb0001c26717da4d1e1ef53391eb6f9d14
Revert r301697 "[IR] Make add/remove Attributes use AttrBuilder instead of AttributeList"

This broke the Clang build. (Clang-side patch missing?)

Original commit message:

> [IR] Make add/remove Attributes use AttrBuilder instead of
> AttributeList
>
> This change cleans up call sites and avoids creating temporary
> AttributeList objects.
>
> NFC

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@301712 91177308-0d34-0410-b5e6-96231b3b80d8
12 files changed:
include/llvm/CodeGen/CommandFlags.h
include/llvm/IR/Attributes.h
include/llvm/IR/Function.h
lib/CodeGen/GlobalISel/CallLowering.cpp
lib/IR/Attributes.cpp
lib/IR/Function.cpp
lib/Target/Mips/Mips16HardFloat.cpp
lib/Transforms/Coroutines/CoroSplit.cpp
lib/Transforms/Instrumentation/DataFlowSanitizer.cpp
lib/Transforms/Instrumentation/MemorySanitizer.cpp
lib/Transforms/Scalar/RewriteStatepointsForGC.cpp
unittests/IR/AttributesTest.cpp