[clang] [llvm] [HLSL] Implementation of the fmod intrinsic (PR #108849)
Farzon Lotfi via cfe-commits
cfe-commits at lists.llvm.org
Mon Sep 16 09:52:25 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"];
----------------
farzonl wrote:
rename to `__builtin_elementwise_fmod` the add appropriate changes to `clang/docs/LanguageExtensions.rst` and `clang/docs/ReleaseNotes.rst`
https://github.com/llvm/llvm-project/pull/108849
More information about the cfe-commits
mailing list