[clang] [HLSL][Matrix] Add OR and AND logical operator support for matrix (PR #172384)

Joshua Batista via cfe-commits cfe-commits at lists.llvm.org
Thu Dec 18 11:03:42 PST 2025


================
@@ -1774,6 +1799,31 @@ _HLSL_BUILTIN_ALIAS(__builtin_hlsl_or)
 bool3 or(bool3, bool3);
 _HLSL_BUILTIN_ALIAS(__builtin_hlsl_or)
 bool4 or(bool4, bool4);
+
+_HLSL_BUILTIN_ALIAS(__builtin_hlsl_or)
----------------
bob80905 wrote:

Should we include 1xn matrices here?

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


More information about the cfe-commits mailing list