summaryrefslogtreecommitdiffstats
path: root/llvm/test/Transforms
diff options
context:
space:
mode:
authorDan Gohman <gohman@apple.com>2009-02-15 23:59:32 +0000
committerDan Gohman <gohman@apple.com>2009-02-15 23:59:32 +0000
commitaaee6c9523ad727c83a211805eb1fee9932bbcd7 (patch)
treeb625300b8590d7d09d41c5717b8508257ae4566b /llvm/test/Transforms
parentf6ccacba3659c99b52676d2e74022ced00ea5e80 (diff)
downloadbcm5719-llvm-aaee6c9523ad727c83a211805eb1fee9932bbcd7.tar.gz
bcm5719-llvm-aaee6c9523ad727c83a211805eb1fee9932bbcd7.zip
Don't assume that a left-shift of a value with one bit set will have
one bit set, because the bit may be shifted off the end. Instead, just check for a constant 1 being shifted. This is still sufficient to handle all the cases in test/CodeGen/X86/bt.ll. This fixes PR3583. llvm-svn: 64622
Diffstat (limited to 'llvm/test/Transforms')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud