File tree Expand file tree Collapse file tree 2 files changed +5
-2
lines changed
Integration/Dialect/Arith/CPU Expand file tree Collapse file tree 2 files changed +5
-2
lines changed Original file line number Diff line number Diff line change 11// Case 1: All floating-point arithmetics is lowered through APFloat.
22// RUN: mlir-opt %s --convert-arith-to-apfloat --convert-to-llvm | \
33// RUN: mlir-runner -e entry --entry-point-result=void \
4- // RUN: --shared-libs=%mlir_c_runner_utils | FileCheck %s
4+ // RUN: --shared-libs=%mlir_c_runner_utils \
5+ // RUN: --shared-libs=%mlir_apfloat_wrappers | FileCheck %s
56
67// Case 2: Only unsupported arithmetics (f8E4M3FN) is lowered through APFloat.
78// Arithmetics on f32 is lowered directly to LLVM.
89// RUN: mlir-opt %s --convert-to-llvm --convert-arith-to-apfloat \
910// RUN: --convert-to-llvm --reconcile-unrealized-casts | \
1011// RUN: mlir-runner -e entry --entry-point-result=void \
11- // RUN: --shared-libs=%mlir_c_runner_utils | FileCheck %s
12+ // RUN: --shared-libs=%mlir_c_runner_utils \
13+ // RUN: --shared-libs=%mlir_apfloat_wrappers | FileCheck %s
1214
1315// Put rhs into separate function so that it won't be constant-folded.
1416func.func @foo () -> (f8E4M3FN , f32 ) {
Original file line number Diff line number Diff line change @@ -208,6 +208,7 @@ def find_real_python_interpreter():
208208 add_runtime ("mlir_c_runner_utils" ),
209209 add_runtime ("mlir_async_runtime" ),
210210 add_runtime ("mlir_float16_utils" ),
211+ add_runtime ("mlir_apfloat_wrappers" ),
211212 "mlir-linalg-ods-yaml-gen" ,
212213 "mlir-reduce" ,
213214 "mlir-pdll" ,
You can’t perform that action at this time.
0 commit comments