commit | 42a5875e107a5dea72745574b0215d9bcdf6deb4 | [log] [tgz] |
---|---|---|
author | Dan Gohman <gohman@apple.com> | Tue May 12 01:23:18 2009 +0000 |
committer | Dan Gohman <gohman@apple.com> | Tue May 12 01:23:18 2009 +0000 |
tree | 5138b473ff24add734b06ae45d1e17e570b28407 | |
parent | 6ed34918ebc2b7bcfcc5e5ee42070303b73811fe [diff] |
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. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@71532 91177308-0d34-0410-b5e6-96231b3b80d8