[Mlir-commits] [mlir] [MLIR] Add canonicalizations to all eligible `index` binary ops (PR #114000)
weiwei chen
llvmlistbot at llvm.org
Tue Oct 29 08:38:02 PDT 2024
================
@@ -300,6 +313,19 @@ func.func @maxs_edge() -> index {
return %0 : index
}
+// CHECK-LABEL: @maxs_fold_constants
+func.func @maxs_fold_constants(%arg: index) -> (index) {
+ %0 = index.constant 2
----------------
weiweichen wrote:
Actually test a signed (negative) value here please?
https://github.com/llvm/llvm-project/pull/114000
More information about the Mlir-commits
mailing list