[clang] [HLSL] Implementation of the fmod intrinsic (PR #108849)

Zhengxing li via cfe-commits cfe-commits at lists.llvm.org
Tue Sep 24 13:16:59 PDT 2024


================
@@ -4782,6 +4782,12 @@ def HLSLStep: LangBuiltin<"HLSL_LANG"> {
   let Prototype = "void(...)";
 }
 
+def HLSLFmod : LangBuiltin<"HLSL_LANG"> {
+  let Spellings = ["__builtin_hlsl_elementwise_fmod"];
----------------
lizhengxing wrote:

Done.

https://github.com/llvm/llvm-project/pull/108849


More information about the cfe-commits mailing list