[clang] [HLSL] Add matrix support for isnan() and isinf() (PR #195586)

Farzon Lotfi via cfe-commits cfe-commits at lists.llvm.org
Mon Aug 10 14:52:08 PDT 2026


================
@@ -0,0 +1,182 @@
+// RUN: %clang_cc1 -finclude-default-header -x hlsl -triple \
+// RUN:   dxil-pc-shadermodel6.3-library %s -fnative-half-type -fnative-int16-type \
+// RUN:   -emit-llvm -disable-llvm-passes -o - | FileCheck %s \
+// RUN:   --check-prefixes=CHECK,DXCHECK,NATIVE_HALF
----------------
farzonl wrote:

no  this is fine, we have done float tests first so we can share more check lines between dx\spv.

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


More information about the cfe-commits mailing list