[Mlir-commits] [mlir] [mlir][SPIR-V] Add OpenCL.std ldexp, pown, and rootn ops (PR #194791)

Zmicier Prybysh llvmlistbot at llvm.org
Wed Apr 29 04:24:56 PDT 2026


================
@@ -505,6 +505,48 @@ def SPIRV_CLFmaOp : SPIRV_CLTernaryArithmeticOp<"fma", 26, SPIRV_Float> {
 
 // -----
 
+def SPIRV_CLLdexpOp : SPIRV_CLOp<"ldexp", 34, [Pure]> {
----------------
dimp-pl wrote:

Since that op isn't based on `SPIRV_CLBinaryArithmeticOp`, won't it benefit from adding an `AllTypesMatch<["x", "y"]>` trait to have a bit more safety checking? 

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


More information about the Mlir-commits mailing list