[clang] [llvm] [HLSL] Implement WaveActiveAnyTrue intrinsic (PR #115902)

Finn Plummer via cfe-commits cfe-commits at lists.llvm.org
Tue Nov 12 14:23:13 PST 2024


================
@@ -2091,6 +2091,12 @@ bool SemaHLSL::CheckBuiltinFunctionCall(unsigned BuiltinID, CallExpr *TheCall) {
       return true;
     break;
   }
+  case Builtin::BI__builtin_hlsl_wave_active_any_true: {
+    if (SemaRef.checkArgCount(TheCall, 1))
+      return true;
+
+    break;
+  }
----------------
inbelic wrote:

Correct. Since we don't need to overload on the types we don't need to do anything here and this is redundant.

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


More information about the cfe-commits mailing list