projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
7e05714
)
Add a comment, and fix a typo that broke the build.
author
Owen Anderson
<resistor@mac.com>
Mon, 10 Jul 2006 22:15:25 +0000
(22:15 +0000)
committer
Owen Anderson
<resistor@mac.com>
Mon, 10 Jul 2006 22:15:25 +0000
(22:15 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@29094
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/Transforms/Scalar/InstructionCombining.cpp
patch
|
blob
|
history
diff --git
a/lib/Transforms/Scalar/InstructionCombining.cpp
b/lib/Transforms/Scalar/InstructionCombining.cpp
index ce9c47c03cbf7c326e82bcc10a23f0c1f78231bb..1fc4211ea74a885a20d284e9e857e68a47d5dafd 100644
(file)
--- a/
lib/Transforms/Scalar/InstructionCombining.cpp
+++ b/
lib/Transforms/Scalar/InstructionCombining.cpp
@@
-6255,7
+6255,8
@@
static bool DeadPHICycle(PHINode *PN, std::set<PHINode*> &PotentiallyDeadPHIs) {
// PHINode simplification
//
Instruction *InstCombiner::visitPHINode(PHINode &PN) {
- if (mustPreservePassID(LCSSAID)) return 0;
+ // If LCSSA is around, don't mess with Phi nodes
+ if (mustPreserveAnalysisID(LCSSAID)) return 0;
if (Value *V = PN.hasConstantValue())
return ReplaceInstUsesWith(PN, V);