redisable this, my bootstrap worked because it wasn't an optimized build, whoops.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@89991 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Chris Lattner
2009-11-27 05:53:01 +00:00
parent cca130bb66
commit b99be5beac
2 changed files with 7 additions and 6 deletions
@@ -700,6 +700,7 @@ static bool isPHITranslatable(Instruction *Inst) {
// We can translate a GEP that uses a PHI in the current block for at least
// one of its operands.
if (0)
if (GetElementPtrInst *GEP = dyn_cast<GetElementPtrInst>(Inst)) {
for (unsigned i = 0, e = GEP->getNumOperands(); i != e; ++i)
if (PHINode *PN = dyn_cast<PHINode>(GEP->getOperand(i)))