[Mlir-commits] [mlir] [mlir][arith] mul operation regressions (PR #96975)

Jakub Kuderski llvmlistbot at llvm.org
Thu Jun 27 20:40:55 PDT 2024


================
@@ -0,0 +1,44 @@
+// Tests mul operations and their variants (e.g. extended).
+// These tests are intended to be target agnostic: they should yield the same results 
+// regardless of the target platform.
+
+// 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 \
+// RUN:                   --shared-libs=%mlir_c_runner_utils | \
+// RUN:   FileCheck %s --match-full-lines
+
+func.func @mulsi_extended_on_i1() {
+    // mulsi_extended on i1, tests for overflow bit
+    // mulsi_extended 1, 1 : i1 = (1, 0)
----------------
kuhar wrote:

Same here -- could you re-indent?

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


More information about the Mlir-commits mailing list