diff options
author | Chris Lattner <sabre@nondot.org> | 2004-01-05 05:42:17 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2004-01-05 05:42:17 +0000 |
commit | fc3d0598df4fe5cffb3694921242772f902d0030 (patch) | |
tree | be3450910417b674485369098026731522d0190f /llvm/lib/CodeGen/TwoAddressInstructionPass.cpp | |
parent | 3d903f0c0b3affc1ee95db8263bfa4a85d565519 (diff) | |
download | bcm5719-llvm-fc3d0598df4fe5cffb3694921242772f902d0030.tar.gz bcm5719-llvm-fc3d0598df4fe5cffb3694921242772f902d0030.zip |
fix warning
llvm-svn: 10692
Diffstat (limited to 'llvm/lib/CodeGen/TwoAddressInstructionPass.cpp')
-rw-r--r-- | llvm/lib/CodeGen/TwoAddressInstructionPass.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/CodeGen/TwoAddressInstructionPass.cpp b/llvm/lib/CodeGen/TwoAddressInstructionPass.cpp index b758e7fd224..4d8db815b20 100644 --- a/llvm/lib/CodeGen/TwoAddressInstructionPass.cpp +++ b/llvm/lib/CodeGen/TwoAddressInstructionPass.cpp @@ -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 ? |