summaryrefslogtreecommitdiff
path: root/test/CodeGen/X86/2006-05-11-InstrSched.ll
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
commit97d116346cdf47ce0c8536a69ff6c606309cb4c0 (patch)
tree4c66333d17b3415da1f8ef940e2bf00aa32807ce /test/CodeGen/X86/2006-05-11-InstrSched.ll
parent35188eb54db0df31a11bc2227292170d987efe1a (diff)
downloadllvm-97d116346cdf47ce0c8536a69ff6c606309cb4c0.tar.gz
llvm-97d116346cdf47ce0c8536a69ff6c606309cb4c0.tar.bz2
llvm-97d116346cdf47ce0c8536a69ff6c606309cb4c0.tar.xz
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. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@64622 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/CodeGen/X86/2006-05-11-InstrSched.ll')
0 files changed, 0 insertions, 0 deletions