[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:58 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:
----------------
dimp-pl wrote:
I think "n" here is a typo and it should be "exp".
https://github.com/llvm/llvm-project/pull/194791
More information about the Mlir-commits
mailing list