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:
f603618
)
be more aggressive about matching identical instructions.
author
Chris Lattner
<sabre@nondot.org>
Wed, 25 Oct 2006 18:08:14 +0000
(18:08 +0000)
committer
Chris Lattner
<sabre@nondot.org>
Wed, 25 Oct 2006 18:08:14 +0000
(18:08 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@31179
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/CodeGen/MachineInstr.cpp
patch
|
blob
|
history
diff --git
a/lib/CodeGen/MachineInstr.cpp
b/lib/CodeGen/MachineInstr.cpp
index 9affc696c1bfe3b74e32c3f8342c621d0275dd7f..a47293e048be4249e8b99d7d73d6fbc882e1a0f4 100644
(file)
--- a/
lib/CodeGen/MachineInstr.cpp
+++ b/
lib/CodeGen/MachineInstr.cpp
@@
-120,7
+120,7
@@
bool MachineOperand::isIdenticalTo(const MachineOperand &Other) const {
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();
}
}