From e96b2111b1ecfda8daa101f397b44c618d472431 Mon Sep 17 00:00:00 2001 From: Owen Anderson Date: Thu, 12 Nov 2009 23:22:41 +0000 Subject: Re-enable this code, since redundant PHIs are now being better nuked. llvm-svn: 87042 --- llvm/lib/Transforms/Scalar/SCCVN.cpp | 4 ---- 1 file changed, 4 deletions(-) (limited to 'llvm/lib/Transforms') 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::iterator -- cgit v1.2.3