Changes in directory llvm/lib/CodeGen:
MachineInstr.cpp updated: 1.126 -> 1.127
---
Log message:
be more aggressive about matching identical instructions.
---
Diffs of the changes: (+1 -1)
MachineInstr.cpp | 2 +-
1 files changed, 1 insertion(+), 1 deletion(-)
Index: llvm/lib/CodeGen/MachineInstr.cpp
diff -u llvm/lib/CodeGen/MachineInstr.cpp:1.126
llvm/lib/CodeGen/MachineInstr.cpp:1.127
--- llvm/lib/CodeGen/MachineInstr.cpp:1.126 Fri Oct 20 17:39:59 2006
+++ llvm/lib/CodeGen/MachineInstr.cpp Wed Oct 25 13:08:14 2006
@@ -120,7 +120,7 @@
case MachineOperand::MO_GlobalAddress:
return getGlobal() == Other.getGlobal() && getOffset() ==
Other.getOffset();
case MachineOperand::MO_ExternalSymbol:
- return getSymbolName() == Other.getSymbolName() &&
+ return !strcmp(getSymbolName(), Other.getSymbolName()) &&
getOffset() == Other.getOffset();
}
}
_______________________________________________
llvm-commits mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits