diff options
| author | Owen Anderson <resistor@mac.com> | 2009-11-12 23:22:41 +0000 |
|---|---|---|
| committer | Owen Anderson <resistor@mac.com> | 2009-11-12 23:22:41 +0000 |
| commit | e96b2111b1ecfda8daa101f397b44c618d472431 (patch) | |
| tree | 8c7390cd8fabc4c3d058a145a7e69699dfd09dc4 /llvm/lib/Transforms | |
| parent | ca0de3311321a93095b1f456f7a5e46344da09bd (diff) | |
| download | bcm5719-llvm-e96b2111b1ecfda8daa101f397b44c618d472431.tar.gz bcm5719-llvm-e96b2111b1ecfda8daa101f397b44c618d472431.zip | |
Re-enable this code, since redundant PHIs are now being better nuked.
llvm-svn: 87042
Diffstat (limited to 'llvm/lib/Transforms')
| -rw-r--r-- | llvm/lib/Transforms/Scalar/SCCVN.cpp | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/llvm/lib/Transforms/Scalar/SCCVN.cpp b/llvm/lib/Transforms/Scalar/SCCVN.cpp index 8dd718ab218..001267a7d7d 100644 --- a/llvm/lib/Transforms/Scalar/SCCVN.cpp +++ b/llvm/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 |

