Adjust to change in Intrinsics.gen interface.
authorChris Lattner <sabre@nondot.org>
Sun, 2 Apr 2006 03:35:01 +0000 (03:35 +0000)
committerChris Lattner <sabre@nondot.org>
Sun, 2 Apr 2006 03:35:01 +0000 (03:35 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@27344 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Transforms/Utils/Local.cpp

index 9c7bfcebce64c962a8261ec3a520cbb603579720..a35a1a69af1ae096251bd9d778197dfb58aa9431 100644 (file)
@@ -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