mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-01-19 04:32:19 +00:00
Set Changed to true when canonicalizing ICmp operand order; even though
it isn't a very interesting change, it's a change nonetheless. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@104260 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
63b8845e78
commit
9da1bf4845
@ -1997,6 +1997,7 @@ void LSRInstance::CollectFixupsAndInitialFormulae() {
|
||||
if (NV == LF.OperandValToReplace) {
|
||||
CI->setOperand(1, CI->getOperand(0));
|
||||
CI->setOperand(0, NV);
|
||||
Changed = true;
|
||||
}
|
||||
|
||||
// x == y --> x - y == 0
|
||||
|
Loading…
x
Reference in New Issue
Block a user