From 7224f84c15da784bd0cedcdb082f7869a6074c0d Mon Sep 17 00:00:00 2001 From: Chris Lattner Date: Sun, 2 Apr 2006 03:35:01 +0000 Subject: [PATCH] Adjust to change in Intrinsics.gen interface. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@27344 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/Transforms/Utils/Local.cpp | 1 + 1 file changed, 1 insertion(+) 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