[Mlir-commits] [mlir] [mlir] Add the ability to define dialect-specific location attrs. (PR #105584)

Aman LaChapelle llvmlistbot at llvm.org
Tue Sep 17 20:59:53 PDT 2024


================
@@ -187,5 +210,8 @@ ParseResult Parser::parseLocationInstance(LocationAttr &loc) {
     return success();
   }
 
+  if (getToken().getSpelling() == "dialect")
----------------
bzcheeseman wrote:

I found why :P OperationParser::parseLocationAlias manually checks the spelling looking for a dialect because it's looking for hash aliases. I think I can re-work it though

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


More information about the Mlir-commits mailing list