[clang] [HLSL] Add matrix support for isnan() and isinf() (PR #195586)
Dan Brown via cfe-commits
cfe-commits at lists.llvm.org
Mon Aug 10 10:57:38 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
----------------
danbrown-amd wrote:
It's consistent with isinf.hlsl. I don't mind changing it (and putting half tests first) if you want.
https://github.com/llvm/llvm-project/pull/195586
More information about the cfe-commits
mailing list