[LLVMdev] llvm.atomic.barrier implementation

Andrew Lenharth andrewl at lenharth.org
Fri Feb 15 15:12:17 PST 2008


>  Please prepare a patch for LangRef.html that explains what this thing
>  does :).  What are all those bools?  Once that is available I'll
>  review the rest of the llvm patch.

http://llvm.org/releases/2.1/docs/LangRef.html#int_memory_barrier

>  In the call below, you don't have to pass in 4 i1's.  Just passing in
>  the intrinsic ID should be fine.  The type list is for intrinsics that
>  take 'any' as an argument.

The intrinsic takes 4 bools.

>  Finally, don't forget the 80 column rule.

Yea, already noticed that.



More information about the llvm-dev mailing list