[Mlir-commits] [flang] [mlir] [mlir][AsmParser] Disambiguate location attributes from trailing loc (PR #180668)

llvmlistbot at llvm.org llvmlistbot at llvm.org
Wed Mar 18 20:06:24 PDT 2026


================
@@ -31,18 +31,18 @@ def test_exception():
     except MLIRError as e:
         # CHECK: Exception: <
         # CHECK:   Unable to parse operation assembly:
-        # CHECK:   error: "use": operand #0 does not dominate this use
-        # CHECK:    note: "use": see current operation: "test.use"(%0) : (i64) -> ()
-        # CHECK:    note: "def": operand defined here (op in the same block)
----------------
XiaoleiShi-NV wrote:

Yes, same issue here. The formatted top-level exception string still includes `error:` / `note:`. I restored those expectations in the latest update and kept the structured `error_diagnostics[...]` checks unchanged.

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


More information about the Mlir-commits mailing list