[llvm-commits] [llvm] r77584 - /llvm/trunk/lib/Target/X86/README.txt

Chris Lattner clattner at apple.com
Thu Jul 30 14:10:22 PDT 2009


On Jul 30, 2009, at 10:36 AM, Evan Cheng wrote:

>>> information
>>> +carried over to machine instructions. Asm printer (or JIT) can use
>>> this
>>> +information to add the "lock" prefix.
>>
>> Maybe just make "lock" be an operand that can be 0/1, like the
>> predicate bit on arm?
>>
>
> That's possible but currently we don't have a way to toggling it
> during isel.

isel would just select it with the bit set to 0 in the "add" case, and  
bit set to 1 in the custom lowered case, isn't that enough?

-Chris



More information about the llvm-commits mailing list