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:
7b0138f
)
const-ize a predicate
author
Gabor Greif
<ggreif@gmail.com>
Fri, 9 Apr 2010 10:57:00 +0000
(10:57 +0000)
committer
Gabor Greif
<ggreif@gmail.com>
Fri, 9 Apr 2010 10:57:00 +0000
(10:57 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@100856
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/Transforms/Scalar/GVN.cpp
patch
|
blob
|
history
diff --git
a/lib/Transforms/Scalar/GVN.cpp
b/lib/Transforms/Scalar/GVN.cpp
index 642d59da044f75fefcff742bfaf6f19e2dbd13b7..2c62815eb8b4c27a6becc000f6cf2e963d4de7e6 100644
(file)
--- a/
lib/Transforms/Scalar/GVN.cpp
+++ b/
lib/Transforms/Scalar/GVN.cpp
@@
-1333,8
+1333,8
@@
static Value *ConstructSSAForLoadSet(LoadInst *LI,
return V;
}
-static bool isLifetimeStart(Instruction *Inst) {
- if (IntrinsicInst* II = dyn_cast<IntrinsicInst>(Inst))
+static bool isLifetimeStart(
const
Instruction *Inst) {
+ if (
const
IntrinsicInst* II = dyn_cast<IntrinsicInst>(Inst))
return II->getIntrinsicID() == Intrinsic::lifetime_start;
return false;
}