[clang] [llvm] [HLSL][SPIRV][DXIL] Implement `WaveActiveSum` intrinsic (PR #118580)

Adam Yang via llvm-commits llvm-commits at lists.llvm.org
Mon Jan 6 14:11:32 PST 2025


================
@@ -9272,6 +9272,8 @@ def err_typecheck_expect_scalar_or_vector : Error<
   "a vector of such type is required">;
 def err_typecheck_expect_any_scalar_or_vector : Error<
   "invalid operand of type %0 where a scalar or vector is required">;
+def err_typecheck_expect_scalar_or_vector_not_type : Error<
----------------
adam-yang wrote:

Merged `err_typecheck_expect_scalar_or_vector_not_type` and `err_typecheck_expect_any_scalar_or_vector` by putting ` where a scalar or vector is required` behind a `%select`.

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


More information about the llvm-commits mailing list