Fix 255.vortex by using getClassB instead of getClass

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15648 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Nate Begeman 2004-08-11 03:30:55 +00:00
parent 916f96ace0
commit 8d963e602b

View File

@ -605,7 +605,6 @@ void ISel::copyConstantToRegister(MachineBasicBlock *MBB,
}
return;
}
std::cerr << "Unhandled integer constant!\n";
abort();
} else if (ConstantFP *CFP = dyn_cast<ConstantFP>(C)) {
@ -1243,7 +1242,7 @@ void ISel::emitSelectOperation(MachineBasicBlock *MBB,
BuildMI(BB, PPC::PHI, 4, DestReg).addReg(FalseValue)
.addMBB(copy0MBB).addReg(TrueValue).addMBB(copy1MBB);
// For a register pair representing a long value, define the second reg
if (getClass(TrueVal->getType()) == cLong)
if (getClassB(TrueVal->getType()) == cLong)
BuildMI(BB, PPC::LI, 1, DestReg+1).addImm(0);
return;
}