mirror of
https://github.com/RPCS3/llvm.git
synced 2025-01-19 16:35:10 +00:00
be more aggressive about matching identical instructions.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@31179 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
f6036182a5
commit
13a04125df
@ -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();
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user