summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Transforms/Utils/Local.cpp
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2006-04-02 03:35:01 +0000
committerChris Lattner <sabre@nondot.org>2006-04-02 03:35:01 +0000
commit70ec96fa32f63b2de72aad79fdfefbd6633ce1df (patch)
treea51912b62ce6216a5e8443bef777b65100279b9a /llvm/lib/Transforms/Utils/Local.cpp
parent0442a187589c0321e0a09fe3bb12620c49d4e717 (diff)
downloadbcm5719-llvm-70ec96fa32f63b2de72aad79fdfefbd6633ce1df.tar.gz
bcm5719-llvm-70ec96fa32f63b2de72aad79fdfefbd6633ce1df.zip
Adjust to change in Intrinsics.gen interface.
llvm-svn: 27344
Diffstat (limited to 'llvm/lib/Transforms/Utils/Local.cpp')
-rw-r--r--llvm/lib/Transforms/Utils/Local.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/llvm/lib/Transforms/Utils/Local.cpp b/llvm/lib/Transforms/Utils/Local.cpp
index 9c7bfcebce6..a35a1a69af1 100644
--- a/llvm/lib/Transforms/Utils/Local.cpp
+++ b/llvm/lib/Transforms/Utils/Local.cpp
@@ -308,6 +308,7 @@ bool llvm::isInstructionTriviallyDead(Instruction *I) {
if (CallInst *CI = dyn_cast<CallInst>(I))
if (Function *F = CI->getCalledFunction()) {
+ unsigned IntrinsicID = F->getIntrinsicID();
#define GET_SIDE_EFFECT_INFO
#include "llvm/Intrinsics.gen"
#undef GET_SIDE_EFFECT_INFO
OpenPOWER on IntegriCloud