summaryrefslogtreecommitdiffstats
path: root/lib
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
commit7224f84c15da784bd0cedcdb082f7869a6074c0d (patch)
tree6458324e5a86b26de81450fe5c05b8dea7e28c4a /lib
parentedab1b91336af19e815e780f2e28eb3d2013ddf4 (diff)
downloadexternal_llvm-7224f84c15da784bd0cedcdb082f7869a6074c0d.zip
external_llvm-7224f84c15da784bd0cedcdb082f7869a6074c0d.tar.gz
external_llvm-7224f84c15da784bd0cedcdb082f7869a6074c0d.tar.bz2
Adjust to change in Intrinsics.gen interface.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@27344 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib')
-rw-r--r--lib/Transforms/Utils/Local.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/Transforms/Utils/Local.cpp b/lib/Transforms/Utils/Local.cpp
index 9c7bfce..a35a1a6 100644
--- a/lib/Transforms/Utils/Local.cpp
+++ b/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