[Mlir-commits] [mlir] [mlir][arith] Add division regression tests (PR #98181)

Jakub Kuderski llvmlistbot at llvm.org
Tue Jul 9 09:23:20 PDT 2024


================
@@ -0,0 +1,109 @@
+// Tests division operations and their variants (e.g. ceil/floordiv, rem etc)
+
+// RUN: mlir-opt %s --arith-expand --test-lower-to-llvm | \
+// RUN:   mlir-cpu-runner -e entry -entry-point-result=void \
+// RUN:                   --shared-libs=%mlir_c_runner_utils | \
+// RUN:   FileCheck %s --match-full-lines
+
+func.func @divsi_i8(%v1 : i8, %v2 : i8) {
+    vector.print str "@divsi_i8\n"
----------------
kuhar wrote:

nit: Please fix the indentation in this file

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


More information about the Mlir-commits mailing list