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

Aman LaChapelle llvmlistbot at llvm.org
Tue Sep 17 21:29:02 PDT 2024


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

Updated - got it working :) It invalidated a test that was checking for an error in a case that actually would now be valid if the dialect was registered.

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


More information about the Mlir-commits mailing list