search for: gccbultin

Displaying 1 result from an estimated 1 matches for "gccbultin".

Did you mean: gccbuiltin
2018 Apr 09
1
Why does Clang use GCCBuiltInFunctions? How can intrinsics that don't depend on GCC be added?
http://llvm.org/doxygen/namespacellvm_1_1Intrinsic.html#a441f366e90feb68d310546c271bcd31e I noticed that there are a lot of intrinsice in `include/llvm/IR/Intrinsics*.td` that reference GCCBultIn, and looking at the functions they're referencing it seems to be based on things already built into GCC. Why is it done this way instead of just building them from scratch (or importing the functions themselves) instead of depending on gcc? Is building target-specific intrinsics from scratch pr...