[Mlir-commits] [mlir] [mlir][AsmParser] Fix parseOptionalAttribute consuming loc() as an attribute (PR #180668)

Matthias Springer llvmlistbot at llvm.org
Tue Feb 10 02:15:09 PST 2026


matthias-springer wrote:

Overall, I think this is going in the right direction. But there is now a discrepancy between `parseOptionalAttribute` and `parseAttribute`. If we remove `Token::kw_loc` from `parseOptionalAttribute`, we should also remove it from `parseAttribute`.

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


More information about the Mlir-commits mailing list