[Mlir-commits] [mlir] Avoid unnecessary erasing of constant Locs (PR #151573)

Mehdi Amini llvmlistbot at llvm.org
Fri Aug 1 04:04:46 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:.*]])
----------------
joker-eph wrote:

Why is this check next broken? Can you provide the before/after output for this test?

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


More information about the Mlir-commits mailing list