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:
0bee3f4
)
Fix test/Transforms/GVNPRE/2007-06-15-Looping.ll
author
Owen Anderson
<resistor@mac.com>
Fri, 15 Jun 2007 17:55:15 +0000
(17:55 +0000)
committer
Owen Anderson
<resistor@mac.com>
Fri, 15 Jun 2007 17:55:15 +0000
(17:55 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@37595
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/Transforms/Scalar/GVNPRE.cpp
patch
|
blob
|
history
diff --git
a/lib/Transforms/Scalar/GVNPRE.cpp
b/lib/Transforms/Scalar/GVNPRE.cpp
index 0e5e77c629ef44fe715a3bc30befa13439116678..d52e4d378f86e22f9c8ee64c415b27477b51f802 100644
(file)
--- a/
lib/Transforms/Scalar/GVNPRE.cpp
+++ b/
lib/Transforms/Scalar/GVNPRE.cpp
@@
-801,15
+801,13
@@
bool GVNPRE::runOnFunction(Function &F) {
Value* s1 = 0;
if (isa<Instruction>(U->getOperand(0)))
- s1 = find_leader(availableOut[*PI],
- phi_translate(U->getOperand(0), *PI, BB));
+ s1 = find_leader(availableOut[*PI], U->getOperand(0));
else
s1 = U->getOperand(0);
Value* s2 = 0;
if (isa<Instruction>(U->getOperand(1)))
- s2 = find_leader(availableOut[*PI],
- phi_translate(U->getOperand(1), *PI, BB));
+ s2 = find_leader(availableOut[*PI], U->getOperand(1));
else
s2 = U->getOperand(1);