Skip to content
Commit aaee6c95 authored by Dan Gohman's avatar Dan Gohman
Browse files

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
parent f6ccacba
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment