Go to file
Dan Gohman e14efcc9f4 When turning (ashr(shl(x, n), n)) into sext(trunc(x)), the width of the
type to truncate to should be the number of bits of the value that are
preserved, not the number that are clobbered with sign-extension.
This fixes regressions in ldecod.

llvm-svn: 69704
2009-04-21 20:18:36 +00:00
clang Added over-release test case. 2009-04-21 20:01:03 +00:00
llvm When turning (ashr(shl(x, n), n)) into sext(trunc(x)), the width of the 2009-04-21 20:18:36 +00:00