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

fix warning

llvm-svn: 10692
This commit is contained in:
Chris Lattner 2004-01-05 05:42:17 +00:00
parent 6093fdd5e3
commit bd827343af

View File

@ -129,7 +129,7 @@ bool TwoAddressInstructionPass::runOnMachineFunction(MachineFunction &fn) {
// because of SSA.
for (unsigned i = 1; i < mi->getNumOperands(); ++i) {
assert(!mi->getOperand(i).isRegister() ||
mi->getOperand(i).getAllocatedRegNum() != regA);
mi->getOperand(i).getAllocatedRegNum() != (int)regA);
}
const TargetRegisterClass* rc = regAisPhysical ?