[AsmParser] move AsmParser::getContext to IR library.
authorChris Lattner <clattner@nondot.org>
Thu, 30 Sep 2021 05:05:44 +0000 (22:05 -0700)
committerChris Lattner <clattner@nondot.org>
Thu, 30 Sep 2021 05:07:00 +0000 (22:07 -0700)
commit33f43153248a286f7749d2a838259fb3431ca929
treed462083a5a84675632bad2ad879ef703376518c9
parent3310e0020cf1bc4c17acf9d404274325007af326
[AsmParser] move AsmParser::getContext to IR library.

This is (perhaps unintuitively) where the other AsmParser method
implementations are, which means that dialects don't generally need
to depend on MLIRParser directly.  This should fix a build failure
building .so files on the mlir-nvidia builder.
mlir/lib/IR/AsmPrinter.cpp