[Mlir-commits] [mlir] Avoid unnecessary erasing of constant Locs (PR #151573)
Majid Dadashi
llvmlistbot at llvm.org
Fri Aug 1 10:39:11 PDT 2025
================
@@ -2,7 +2,7 @@
// CHECK-LABEL: func @merge_constants
func.func @merge_constants() -> (index, index, index, index) {
- // CHECK-NEXT: arith.constant 42 : index loc(#[[UnknownLoc:.*]])
----------------
majiddadashi wrote:
Check next is not broken and the output for this function is identical before and after.
I see that the CHECK-NEXT is a meaningful assertion here so reverted back to it.
https://github.com/llvm/llvm-project/pull/151573
More information about the Mlir-commits
mailing list