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:
parent
6093fdd5e3
commit
bd827343af
@ -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 ?
|
||||
|
Loading…
Reference in New Issue
Block a user