1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-24 19:52:54 +01:00

Re-enable this code, since redundant PHIs are now being better nuked.

llvm-svn: 87042
This commit is contained in:
Owen Anderson 2009-11-12 23:22:41 +00:00
parent af38b4195e
commit 81f2ff1d61

View File

@ -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