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

Chris Lattner clattner at apple.com
Thu Jul 30 08:52:53 PDT 2009


On Jul 30, 2009, at 1:56 AM, Evan Cheng wrote:
> Author: evancheng
> Date: Thu Jul 30 03:56:19 2009
> New Revision: 77584
> +Problem #2 is we are adding a whole bunch of x86 atomic  
> instructions when in
> +fact these instructions are identical to the non-lock versions. We  
> need a way to
> +add target specific information to target nodes and have this  
> 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?

-Chris



More information about the llvm-commits mailing list