[llvm-commits] Patch for LangRef.html as part of Atomic Operations

Dan Gohman djg at cray.com
Fri Jul 20 08:44:18 PDT 2007


>> +<div class="doc_subsubsection">
>> +  <a name="atomic_membarrier">'<tt>llvm.atomic.membarrier</tt>'
>> Intrinsic</a>
>
> Consider naming this llvm.atomic.memory.barrier ?

I know I said earlier that I liked the "atomic" in the names, but
for membarrier it's a little confusing, since the operation
is relevent for all memory operations, not just the "atomic" ones.

How about llvm.membarrier, or llvm.memory.barrier if you like
Reid's proposed convention?

Dan

-- 
Dan Gohman, Cray Inc.



More information about the llvm-commits mailing list