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 | 8c2403631b9c83b6bb80ef61a7f6d5a34975e6a9 (patch) | |
tree | 53c0c4c6bb3d65f404fc544dc63805df0492b3c9 /lib/CodeGen/TwoAddressInstructionPass.cpp | |
parent | 77b1330ece6ea40b3b7700fe13e2ca64bd494203 (diff) |
fix warning
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@10692 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/TwoAddressInstructionPass.cpp')
-rw-r--r-- | lib/CodeGen/TwoAddressInstructionPass.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/CodeGen/TwoAddressInstructionPass.cpp b/lib/CodeGen/TwoAddressInstructionPass.cpp index b758e7fd22..4d8db815b2 100644 --- a/lib/CodeGen/TwoAddressInstructionPass.cpp +++ b/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 ? |