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

Fix 255.vortex by using getClassB instead of getClass

llvm-svn: 15648
This commit is contained in:
Nate Begeman 2004-08-11 03:30:55 +00:00
parent 24279a8ac8
commit c07b78eaa2

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;
}