diff options
author | Dale Johannesen <dalej@apple.com> | 2009-02-04 22:47:25 +0000 |
---|---|---|
committer | Dale Johannesen <dalej@apple.com> | 2009-02-04 22:47:25 +0000 |
commit | 4d452de1506344bf1d28bb4a8c4ddb78c51a28c8 (patch) | |
tree | 5b7644cb0658d094afb0caa658d7fb266d6a88c6 /lib/VMCore/AutoUpgrade.cpp | |
parent | d0a203d76f4ef77ae1c392e8e73e2f05b676a5f2 (diff) |
Reverting 63765. This broke the build of both clang
and llvm-gcc.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@63786 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/VMCore/AutoUpgrade.cpp')
-rw-r--r-- | lib/VMCore/AutoUpgrade.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/VMCore/AutoUpgrade.cpp b/lib/VMCore/AutoUpgrade.cpp index dd366071b7..abad7af79b 100644 --- a/lib/VMCore/AutoUpgrade.cpp +++ b/lib/VMCore/AutoUpgrade.cpp @@ -217,7 +217,7 @@ bool llvm::UpgradeIntrinsicFunction(Function *F, Function *&NewFn) { // Upgrade intrinsic attributes. This does not change the function. if (NewFn) F = NewFn; - if (unsigned id = F->getIntrinsicID()) + if (unsigned id = F->getIntrinsicID(true)) F->setAttributes(Intrinsic::getAttributes((Intrinsic::ID)id)); return Upgraded; } |