[clang] [Clang][Sema] Add Diagnostic for using matrix logical on non HLSL targets (PR #223252)
Amr Hesham via cfe-commits
cfe-commits at lists.llvm.org
Mon Sep 14 08:47:53 PDT 2026
================
@@ -14357,4 +14357,7 @@ def err_cuda_device_kernel_launch_not_supported
def err_cuda_device_kernel_launch_require_rdc
: Error<"kernel launch from __device__ or __global__ function requires "
"relocatable device code (i.e. requires -fgpu-rdc)">;
+
+def err_matrix_logical_operations_unsupported : Error<
+ "matix logical operations are not supported on the current target">;
----------------
AmrDeveloper wrote:
I think "matrix logical operations are only supported for HLSL" is a lot better and also includes which language supports that. I will update the message
https://github.com/llvm/llvm-project/pull/223252
More information about the cfe-commits
mailing list