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

Philip Reames via llvm-dev llvm-dev at lists.llvm.org
Wed Dec 2 15:44:59 PST 2015


This proposal - dots as namespaces, underscore for words - would be my 
preferred scheme, but I really don't have much of a strong preference.  
Any reasonable scheme which is documented and consistent works for me.

Philip

On 12/01/2015 09:15 AM, 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
>
> -Krzysztof
>



More information about the llvm-dev mailing list