https://github.com/rjodinchr created 
https://github.com/llvm/llvm-project/pull/134094

clspv uses a better implementation that is not using a bigger side when not 
available.
Add a dummy implementation for mul_hi to avoid to override the implementation 
of clspv with the one in libclc.

>From 46d4e40a3142b36811b85ac3d2ececf46d5b8e7c Mon Sep 17 00:00:00 2001
From: Romaric Jodin <rjo...@google.com>
Date: Wed, 2 Apr 2025 17:12:17 +0200
Subject: [PATCH] [libclc]: clspv: add a dummy implememtation for mul_hi

clspv uses a better implementation that is not using a bigger side
when not available.
Add a dummy implementation for mul_hi to avoid to override the
implementation of clspv with the one in libclc.
---
 libclc/clc/lib/clspv/SOURCES               | 1 +
 libclc/clc/lib/clspv/integer/clc_mul_hi.cl | 0
 2 files changed, 1 insertion(+)
 create mode 100644 libclc/clc/lib/clspv/integer/clc_mul_hi.cl

diff --git a/libclc/clc/lib/clspv/SOURCES b/libclc/clc/lib/clspv/SOURCES
index b1401f8307a4c..b91b0e70a397d 100644
--- a/libclc/clc/lib/clspv/SOURCES
+++ b/libclc/clc/lib/clspv/SOURCES
@@ -1 +1,2 @@
 math/clc_sw_fma.cl
+integer/clc_mul_hi.cl
diff --git a/libclc/clc/lib/clspv/integer/clc_mul_hi.cl 
b/libclc/clc/lib/clspv/integer/clc_mul_hi.cl
new file mode 100644
index 0000000000000..e69de29bb2d1d

_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to