[llvm-dev] [RFC] Intrinsic naming convention (words with dots)
Duncan P. N. Exon Smith via llvm-dev
llvm-dev at lists.llvm.org
Tue Dec 1 14:55:13 PST 2015
> On 2015-Dec-01, at 09:15, Krzysztof Parzyszek via llvm-dev <llvm-dev at lists.llvm.org> 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
This idea SGTM, using `.` as a namespace (and otherwise using `_`).
More information about the llvm-dev
mailing list