mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-01-01 00:33:09 +00:00
Re-enable this code, since redundant PHIs are now being better nuked.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@87042 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
ecc260e403
commit
98538b4bea
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user