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

Chris B via llvm-commits llvm-commits at lists.llvm.org
Tue Dec 17 09:47:35 PST 2024


================
@@ -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<
----------------
llvm-beanz wrote:

Right, but we can combine them and use `%select` to cater to the specific message. Combining similar diagnostics helps keep Clang binary size from growing too much as the constant strings all need to get stored somewhere.

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


More information about the llvm-commits mailing list