diff options
| author | Jeff Niu <jeff@modular.com> | 2022-09-29 14:43:08 -0700 |
|---|---|---|
| committer | Jeff Niu <jeff@modular.com> | 2022-09-29 15:58:10 -0700 |
| commit | 3840e960bafc175c830963f8250d90339fac0d16 (patch) | |
| tree | fc216f3a1e29661f95f03642d83f7a6c99619291 /llvm/lib/Bitcode/Reader/BitcodeReader.cpp | |
| parent | c1a578b09f8db837216c92dafa1807cc6e4e0c97 (diff) | |
[mlir] Add `OpAsmPrinter::printOptionalLocationSpecifier`
This is the corresponding method to
`OpAsmParser::parseOptionalLocationSpecifier` that prints a location
`loc(...)` based on the op printing flags. Together, these two functions
allow propagating user-level location info outside of their usual spots.
Reviewed By: rriddle
Differential Revision: https://reviews.llvm.org/D134910
Diffstat (limited to 'llvm/lib/Bitcode/Reader/BitcodeReader.cpp')
0 files changed, 0 insertions, 0 deletions
