mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-11-19 17:37:24 +00:00
Oops! Left out a line.
Simplifying the sdiv might allow further simplifications for our users. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@61196 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
2a8f6597a3
commit
19c2892677
@ -3106,6 +3106,7 @@ Instruction *InstCombiner::visitSRem(BinaryOperator &I) {
|
||||
|
||||
Constant *NewRHSV = ConstantVector::get(Elts);
|
||||
if (NewRHSV != RHSV) {
|
||||
AddUsesToWorkList(I);
|
||||
I.setOperand(1, NewRHSV);
|
||||
return &I;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user