[LLVMdev] release notes: please mention Intrinsic::memory_barrier removal in 3.0

Török Edwin edwintorok at gmail.com
Wed Oct 26 10:54:12 PDT 2011


On 10/26/2011 03:59 AM, Eli Friedman wrote:
> 2011/10/25 Török Edwin <edwintorok at gmail.com>:
>> Hi,
>>
>> Looks like the memory_barrier intrinsic got removed in 3.0 and replaced with fence intrinsics.
>> Could someone who understands this change better than me please update the 3.0 release notes?
>> Also the LangRef still mentions llvm.memory.barrier but this is gone from 3.0.
> 
> r142994 and r142998 for the relevant changes.
> 
> Any comments on your transition would be appreciated.

Thanks.
My code compiles now, but I haven't actually had time to test it on a non-x86 architecture
(on an x86 architecture the fence I was using was a nop).
I'll probably do some tests in the weekend and let you know how the conversion went.

Best regards,
--Edwin



More information about the llvm-dev mailing list