[llvm-dev] [RFC] Intrinsic naming convention (words with dots)

Manuel Jacob via llvm-dev llvm-dev at lists.llvm.org
Tue Dec 1 09:42:32 PST 2015

On 2015-12-01 18:15, Krzysztof Parzyszek via llvm-dev wrote:
> On 12/1/2015 4:26 AM, Hal Finkel via llvm-dev wrote:
>> I propose that we standardize on (2) -- words with dots -- as it seems 
>> to have a plurality of more-recent intrinsics (and I think it is easy 
>> to read, as is (3)). Thoughts?
> How about using dots to separate "contexts" and underscores to
> separate words, e.g.
> llvm.gc.*	--stuff related to GC
> llvm.gc.read
> llvm.gc.do_something_else

That's what I thought also when reading the proposal.  I always thought 
of dots in intrinsic names as namespace separators, which doesn't always 
conform with actual usage.


More information about the llvm-dev mailing list