[Mlir-commits] [mlir] [mlir][arith] Add `overflow<zero>` to `arith.remsi` (PR #237021)
Matthias Springer
llvmlistbot at llvm.org
Fri Oct 30 08:53:24 PDT 2026
================
@@ -1,6 +1,24 @@
// RUN: mlir-opt %s | mlir-opt | FileCheck %s
// RUN: mlir-opt %s --mlir-print-op-generic | mlir-opt | FileCheck %s
+// CHECK-LABEL: @remsi_overflow_zero
+func.func @remsi_overflow_zero(%a: i32, %b: i32) -> i32 {
+ // CHECK: arith.remsi %{{.*}}, %{{.*}} overflow<zero> : i32
----------------
matthias-springer wrote:
The other tests should have it. This file is supposed to test the printer and parser.
https://github.com/llvm/llvm-project/pull/237021
More information about the Mlir-commits
mailing list