[LLVMdev] llvm.atomic.barrier implementation
Chris Lattner
sabre at nondot.org
Fri Feb 15 15:35:31 PST 2008
On Feb 15, 2008, at 3:12 PM, Andrew Lenharth wrote:
>> 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.
I know, but you don't have to pass them into intrinsic::getdeclaration
-Chris
More information about the llvm-dev
mailing list