diff options
| author | Dan Gohman <gohman@apple.com> | 2009-02-15 23:59:32 +0000 |
|---|---|---|
| committer | Dan Gohman <gohman@apple.com> | 2009-02-15 23:59:32 +0000 |
| commit | aaee6c9523ad727c83a211805eb1fee9932bbcd7 (patch) | |
| tree | b625300b8590d7d09d41c5717b8508257ae4566b /llvm/test/Transforms/LoopUnswitch | |
| parent | f6ccacba3659c99b52676d2e74022ced00ea5e80 (diff) | |
| download | bcm5719-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/LoopUnswitch')
0 files changed, 0 insertions, 0 deletions

