Oops! Left out a line.

Simplifying the sdiv might allow further simplifications for our users.

llvm-svn: 61196
This commit is contained in:
Nick Lewycky 2008-12-18 06:42:28 +00:00
parent 0f0e63fe73
commit c3a70ade66
1 changed files with 1 additions and 0 deletions

View File

@ -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;
}