[llvm-commits] [llvm] r61426 - in /llvm/trunk: lib/Target/X86/X86ISelLowering.cpp test/CodeGen/X86/bt.ll

Dan Gohman gohman at apple.com
Tue Jan 13 15:24:22 PST 2009


On Jan 13, 2009, at 12:54 PM, Eli Friedman wrote:

> On Wed, Dec 24, 2008 at 9:34 PM, Chris Lattner <sabre at nondot.org>  
> wrote:
>> +      // If the operand types disagree, extend the shift amount to  
>> match.  Since
>> +      // BT ignores high bits (like shifts) we can use anyextend.
>
> This isn't correct for the bt forms with a memory operand.

Thanks for pointing this out! I've disabled the register+memory
forms of the bt instructions for now in order to avoid this
complication.

Dan




More information about the llvm-commits mailing list