[Mlir-commits] [mlir] [mlir][AsmParser] Fix parseOptionalAttribute consuming loc() as an attribute (PR #180668)
Mehdi Amini
llvmlistbot at llvm.org
Wed Feb 18 05:07:42 PST 2026
joker-eph wrote:
Changing 1) makes more sense to me. That said ambiguities are unavoidable in general: what if the operation has a oilist of key/value pair, where one of the optional key is `loc` ; then you again don't know if you're done with the op and parsing the trailing location or parsing this optional key.
https://github.com/llvm/llvm-project/pull/180668
More information about the Mlir-commits
mailing list