[Mlir-commits] [mlir] [mlir][SPIR-V] Add OpenCL.std ldexp, pown, and rootn ops (PR #194791)
Arseniy Obolenskiy
llvmlistbot at llvm.org
Wed Apr 29 05:00:59 PDT 2026
================
@@ -505,6 +505,48 @@ def SPIRV_CLFmaOp : SPIRV_CLTernaryArithmeticOp<"fma", 26, SPIRV_Float> {
// -----
+def SPIRV_CLLdexpOp : SPIRV_CLOp<"ldexp", 34, [Pure]> {
+ let summary = "Builds y such that y = significand * 2^exponent.";
+
+ let description = [{
+ Builds a floating-point number from x and the corresponding
+ integral exponent of two in n:
----------------
aobolensk wrote:
Yes, fixed
https://github.com/llvm/llvm-project/pull/194791
More information about the Mlir-commits
mailing list