mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-03-14 15:33:34 +00:00
fix warning
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@10692 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
77b1330ece
commit
8c2403631b
@ -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…
x
Reference in New Issue
Block a user