[clang] [llvm] [DirectX] add Function name to DiagnosticInfoUnsupported Msg in DXILOpLowering (PR #136234)

Justin Bogner via llvm-commits llvm-commits at lists.llvm.org
Fri Apr 18 14:35:46 PDT 2025


================
@@ -0,0 +1,7 @@
+// RUN: %if clang-dxc %{not %clang_dxc -T lib_6_3 %s 2>&1 | FileCheck %s %}
----------------
bogner wrote:

I don't think there's a `clang-dxc` feature, so I suspect this just never runs at all. This will fail if the DirectX backend isn't available, so I don't think gating on clang-dxc would be correct anyway.

I think you actually want `REQUIRES: directx-registered-target` in this test, and to drop the `%if` stuff.

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


More information about the llvm-commits mailing list