[clang] [clang][HLSL] Add sign intrinsic part 3 (PR #101989)
Tim Gymnich via cfe-commits
cfe-commits at lists.llvm.org
Sun Aug 11 05:25:27 PDT 2024
================
@@ -4737,6 +4737,12 @@ def HLSLRSqrt : LangBuiltin<"HLSL_LANG"> {
let Prototype = "void(...)";
}
+def HLSLSign : LangBuiltin<"HLSL_LANG"> {
+ let Spellings = ["__builtin_hlsl_elementwise_sign"];
+ let Attributes = [NoThrow, Const];
+ let Prototype = "int(...)";
----------------
tgymnich wrote:
thanks. fixed
https://github.com/llvm/llvm-project/pull/101989
More information about the cfe-commits
mailing list