projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
edab1b9
)
Adjust to change in Intrinsics.gen interface.
author
Chris Lattner
<sabre@nondot.org>
Sun, 2 Apr 2006 03:35:01 +0000
(
03:35
+0000)
committer
Chris 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
patch
|
blob
|
history
diff --git
a/lib/Transforms/Utils/Local.cpp
b/lib/Transforms/Utils/Local.cpp
index 9c7bfcebce64c962a8261ec3a520cbb603579720..a35a1a69af1ae096251bd9d778197dfb58aa9431 100644
(file)
--- 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