mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-25 04:02:41 +01:00
Set Changed to true when canonicalizing ICmp operand order; even though
it isn't a very interesting change, it's a change nonetheless. llvm-svn: 104260
This commit is contained in:
parent
11aebf39f1
commit
75ee6c3611
@ -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…
Reference in New Issue
Block a user