[llvm-branch-commits] [libclc] release/20.x: [libclc] Include isnan implementation for SPIR-V targets (PR #140902)
Karol Herbst via llvm-branch-commits
llvm-branch-commits at lists.llvm.org
Thu May 22 10:27:32 PDT 2025
https://github.com/karolherbst updated https://github.com/llvm/llvm-project/pull/140902
>From 19163b472984a6c3f8df599d95763794c8d9e3ec Mon Sep 17 00:00:00 2001
From: Karol Herbst <kherbst at redhat.com>
Date: Wed, 21 May 2025 15:57:38 +0200
Subject: [PATCH] [libclc] Include isnan implementation for SPIR-V targets
The fma software emulation requires it.
Similar to https://github.com/llvm/llvm-project/pull/124614
---
libclc/clc/lib/spirv/SOURCES | 1 +
libclc/clc/lib/spirv64/SOURCES | 1 +
2 files changed, 2 insertions(+)
diff --git a/libclc/clc/lib/spirv/SOURCES b/libclc/clc/lib/spirv/SOURCES
index 509236d587cd0..f97a1407f6631 100644
--- a/libclc/clc/lib/spirv/SOURCES
+++ b/libclc/clc/lib/spirv/SOURCES
@@ -10,5 +10,6 @@
../generic/math/clc_nextafter.cl
../generic/math/clc_rint.cl
../generic/math/clc_trunc.cl
+../generic/relational/clc_isnan.cl
../generic/relational/clc_select.cl
../generic/shared/clc_clamp.cl
diff --git a/libclc/clc/lib/spirv64/SOURCES b/libclc/clc/lib/spirv64/SOURCES
index 509236d587cd0..f97a1407f6631 100644
--- a/libclc/clc/lib/spirv64/SOURCES
+++ b/libclc/clc/lib/spirv64/SOURCES
@@ -10,5 +10,6 @@
../generic/math/clc_nextafter.cl
../generic/math/clc_rint.cl
../generic/math/clc_trunc.cl
+../generic/relational/clc_isnan.cl
../generic/relational/clc_select.cl
../generic/shared/clc_clamp.cl
More information about the llvm-branch-commits
mailing list