Skip to content
Commit d6c04461 authored by Dan Gohman's avatar Dan Gohman
Browse files

Fix GetMinTrailingZeros for SCEVSignExtend and SCEVZeroExtendExpr to

return the correct value when the cast operand is all zeros. This ought
to be pretty rare, because it would mean that the regular SCEV folding
routines missed a case, though there are cases they might legitimately
miss. Also, it's unlikely anything currently using GetMinTrailingZeros
cares about this case.

llvm-svn: 71532
parent 32efff65
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment