From: Chris Lattner Date: Sun, 2 Apr 2006 03:35:01 +0000 (+0000) Subject: Adjust to change in Intrinsics.gen interface. X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=7224f84c15da784bd0cedcdb082f7869a6074c0d;p=oota-llvm.git Adjust to change in Intrinsics.gen interface. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@27344 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/lib/Transforms/Utils/Local.cpp b/lib/Transforms/Utils/Local.cpp index 9c7bfcebce6..a35a1a69af1 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(I)) if (Function *F = CI->getCalledFunction()) { + unsigned IntrinsicID = F->getIntrinsicID(); #define GET_SIDE_EFFECT_INFO #include "llvm/Intrinsics.gen" #undef GET_SIDE_EFFECT_INFO