[Mlir-commits] [mlir] [mlir][arith] wide integer emulation support for fpto*i ops (PR #132375)
llvmlistbot at llvm.org
llvmlistbot at llvm.org
Mon Mar 24 10:27:42 PDT 2025
================
@@ -0,0 +1,82 @@
+// Check that the wide integer `arith.fptosi` emulation produces the same result as wide
+// `arith.fptosi`. Emulate i64 ops with i32 ops.
+
+// RUN: mlir-opt %s --convert-scf-to-cf --convert-cf-to-llvm --convert-vector-to-llvm \
+// RUN: --convert-func-to-llvm --convert-arith-to-llvm | \
+// RUN: mlir-cpu-runner -e entry -entry-point-result=void \
----------------
egebeysel wrote:
I just tested again and it still works. But frankly enough, `mlir-cpu-runner` and `mlir-runner` both seem to do the job right now. If `mlir-cpu-runner` is or will be deprecated, I'll switch these to `mlir-runner` :+1:
https://github.com/llvm/llvm-project/pull/132375
More information about the Mlir-commits
mailing list