projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
77b1330
)
fix warning
author
Chris Lattner
<sabre@nondot.org>
Mon, 5 Jan 2004 05:42:17 +0000
(
05:42
+0000)
committer
Chris Lattner
<sabre@nondot.org>
Mon, 5 Jan 2004 05:42:17 +0000
(
05:42
+0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@10692
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/CodeGen/TwoAddressInstructionPass.cpp
patch
|
blob
|
history
diff --git
a/lib/CodeGen/TwoAddressInstructionPass.cpp
b/lib/CodeGen/TwoAddressInstructionPass.cpp
index b758e7fd224e96fb9ad11eb1ebd3d14447a55f75..4d8db815b20e2705d0cd5afcec6852cf4d0e1876 100644
(file)
--- 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 ?