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

Krzysztof Parzyszek via llvm-dev llvm-dev at lists.llvm.org
Tue Dec 1 09:15:12 PST 2015


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

-- 
Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum, 
hosted by The Linux Foundation


More information about the llvm-dev mailing list