[LLVMdev] LLVM Concurrency and Undef

Peter Lawrence peterl95124 at sbcglobal.net
Sun Sep 11 16:54:28 PDT 2011


Eli,
      ah,  excellent.

-Peter.


On Sep 10, 2011, at 7:35 PM, Eli Friedman wrote:
>
>
>> so, again IIUC, it appears that LLVM-IR could not be used for Java  
>> if we
>> import C/C++'s
>> strict "data-race implies undefined" semantics into our IR.
>
> You can't use regular load and store instructions, but I have recently
> added load and store instructions with the appropriate semantics for
> Java to the LLVM IR.  See
> http://llvm.org/docs/Atomics.html#o_unordered .
>
> -Eli

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20110911/abeca4cf/attachment.html>


More information about the llvm-dev mailing list