diff options
| author | Pete Cooper <peter_cooper@apple.com> | 2015-05-06 23:19:56 +0000 |
|---|---|---|
| committer | Pete Cooper <peter_cooper@apple.com> | 2015-05-06 23:19:56 +0000 |
| commit | 2777d8874541335b96c7f23ec2e33e6491e6d170 (patch) | |
| tree | d444a60fb5f17be61d66d034543b0eb909b591df /llvm/unittests/Support/YAMLParserTest.cpp | |
| parent | a842c3fc57d153cf2c002cecad9ca5f912d03a6d (diff) | |
| download | llvm-2777d8874541335b96c7f23ec2e33e6491e6d170.zip llvm-2777d8874541335b96c7f23ec2e33e6491e6d170.tar.gz llvm-2777d8874541335b96c7f23ec2e33e6491e6d170.tar.bz2 | |
Change typeIncompatible to return an AttrBuilder instead of new-ing an AttributeSet.
This makes use of the new API which can remove attributes from a set given a builder.
This is much faster than creating a temporary set and reduces llc time by about 0.3% which was all spent creating temporary attributes sets on the context.
llvm-svn: 236668
Diffstat (limited to 'llvm/unittests/Support/YAMLParserTest.cpp')
0 files changed, 0 insertions, 0 deletions
