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:
ecc260e
)
Re-enable this code, since redundant PHIs are now being better nuked.
author
Owen Anderson
<resistor@mac.com>
Thu, 12 Nov 2009 23:22:41 +0000
(23:22 +0000)
committer
Owen Anderson
<resistor@mac.com>
Thu, 12 Nov 2009 23:22:41 +0000
(23:22 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@87042
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/Transforms/Scalar/SCCVN.cpp
patch
|
blob
|
history
diff --git
a/lib/Transforms/Scalar/SCCVN.cpp
b/lib/Transforms/Scalar/SCCVN.cpp
index 8dd718ab2183e2cd782f133dee9c9f5599cc4665..001267a7d7d501c9ce738c1c83dcbbc82f4d0360 100644
(file)
--- a/
lib/Transforms/Scalar/SCCVN.cpp
+++ b/
lib/Transforms/Scalar/SCCVN.cpp
@@
-629,9
+629,6
@@
bool SCCVN::runOnFunction(Function& F) {
}
}
- // FIXME: This code is commented out for now, because it can lead to the
- // insertion of a lot of redundant PHIs being inserted by SSAUpdater.
-#if 0
// Perform a forward data-flow to compute availability at all points on
// the CFG.
do {
@@
-709,7
+706,6
@@
bool SCCVN::runOnFunction(Function& F) {
CurInst->eraseFromParent();
}
}
-#endif
VT.clear();
for (DenseMap<BasicBlock*, ValueNumberScope*>::iterator