| Commit message (Collapse) | Author | Age | Files | Lines | |
|---|---|---|---|---|---|
| * | Model ashr(shl(x, n), m) as mul(x, 2^(n-m)) when n > m | Zhaoshi Zheng | 2017-03-23 | 1 | -0/+89 |
| Given below case: %y = shl %x, n %z = ashr %y, m when n = m, SCEV models it as sext(trunc(x)). This patch tries to handle the case where n > m by using sext(mul(trunc(x), 2^(n-m)))) as the SCEV expression. llvm-svn: 298631 | |||||

