[LLVMdev] Possible bug in ExpandShiftWithUnknownAmountBit
Duncan Sands
baldrick at free.fr
Tue Dec 1 11:20:14 PST 2009
Hi Javier,
> It seems that the code you pasted came from the function
> ExpandShiftByConstant and indeed it looks correct. In my example I used 6
> as the shift amount but forgot to mention that it's stored in a register.
I see, sorry I didn't read your email more carefully. It does look like
ExpandShiftWithUnknownAmountBit is bogus - at a glance it looks like the
Cmp condition is inverted. I may have time to take a closer look tomorrow.
Best wishes,
Duncan.
More information about the llvm-dev
mailing list