forked from OSchip/llvm-project
Oops! Left out a line.
Simplifying the sdiv might allow further simplifications for our users. llvm-svn: 61196
This commit is contained in:
parent
0f0e63fe73
commit
c3a70ade66
|
@ -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