diff options
author | Rahul Kayaith <rkayaith@gmail.com> | 2023-05-24 21:51:36 -0400 |
---|---|---|
committer | Rahul Kayaith <rkayaith@gmail.com> | 2023-05-24 21:55:51 -0400 |
commit | 514dddbeba643e32310c508a15d7b6ff42f2c461 (patch) | |
tree | a6e6b05a47055ab3be15a9c25665b7254b614c7e /llvm/lib/Target/RISCV/Disassembler/RISCVDisassembler.cpp | |
parent | 07edc1c16faa501cd3d36b8196b314dc55c71b1e (diff) | |
download | llvm-514dddbeba643e32310c508a15d7b6ff42f2c461.zip llvm-514dddbeba643e32310c508a15d7b6ff42f2c461.tar.gz llvm-514dddbeba643e32310c508a15d7b6ff42f2c461.tar.bz2 |
[mlir][python] Allow specifying block arg locations
Currently blocks are always created with UnknownLoc's for their arguments. This
adds an `arg_locs` argument to all block creation APIs, which takes an optional
sequence of locations to use, one per block argument. If no locations are
supplied, the current Location context is used.
Reviewed By: ftynse
Differential Revision: https://reviews.llvm.org/D150084
Diffstat (limited to 'llvm/lib/Target/RISCV/Disassembler/RISCVDisassembler.cpp')
0 files changed, 0 insertions, 0 deletions