diff options
author | River Riddle <riddleriver@gmail.com> | 2022-04-26 13:05:23 -0700 |
---|---|---|
committer | River Riddle <riddleriver@gmail.com> | 2022-04-28 12:58:00 -0700 |
commit | 32bf1f1d57e7fdc240ee6e703306c57b0fa16c8e (patch) | |
tree | 0cfcf7154ec3f10923a64e214678743410637ff9 /llvm/lib/CodeGen/ModuloSchedule.cpp | |
parent | 9613a850b69d2abf621d4c4a9dd9d967c580bd80 (diff) | |
download | llvm-32bf1f1d57e7fdc240ee6e703306c57b0fa16c8e.zip llvm-32bf1f1d57e7fdc240ee6e703306c57b0fa16c8e.tar.gz llvm-32bf1f1d57e7fdc240ee6e703306c57b0fa16c8e.tar.bz2 |
[mlir:LSP] Improve conversion between SourceMgr and LSP locations
SourceMgr generally uses 1-based locations, whereas the LSP is zero based.
This commit corrects this conversion and also enhances the conversion from SMLoc
to SMRange to support string tokens.
Differential Revision: https://reviews.llvm.org/D124584
Diffstat (limited to 'llvm/lib/CodeGen/ModuloSchedule.cpp')
0 files changed, 0 insertions, 0 deletions