-Value *SCEVExpander::visitSDivExpr(SCEVSDivExpr *S) {
- // Do not fold sdiv into ashr, unless you know that LHS is positive. On
- // negative values, it rounds the wrong way.
-
- Value *LHS = expand(S->getLHS());
- Value *RHS = expand(S->getRHS());
- return InsertBinop(Instruction::SDiv, LHS, RHS, InsertPt);
-}
-