diff options
author | River Riddle <riddleriver@gmail.com> | 2021-06-18 20:30:16 +0000 |
---|---|---|
committer | River Riddle <riddleriver@gmail.com> | 2021-06-18 21:12:28 +0000 |
commit | d1baf2895467735ab14f4b3415fce204c0cc8e7f (patch) | |
tree | c9a41f93d7758d6b885510df789a6b6472bf51f4 /llvm/lib/Transforms/Utils/LoopUnroll.cpp | |
parent | bef299286104c2b6383a43b9d1eb0e47838cb5b6 (diff) | |
download | llvm-d1baf2895467735ab14f4b3415fce204c0cc8e7f.zip llvm-d1baf2895467735ab14f4b3415fce204c0cc8e7f.tar.gz llvm-d1baf2895467735ab14f4b3415fce204c0cc8e7f.tar.bz2 |
[mlir] Add support to SourceMgrDiagnosticHandler for filtering FileLineColLocs
This revision adds support for passing a functor to SourceMgrDiagnosticHandler for filtering out FileLineColLocs when emitting a diagnostic. More specifically, this can be useful in situations where there may be large CallSiteLocs with locations that aren't necessarily important/useful for users.
For now the filtering support is limited to FileLineColLocs, but conceptually we could allow filtering for all locations types if a need arises in the future.
Differential Revision: https://reviews.llvm.org/D103649
Diffstat (limited to 'llvm/lib/Transforms/Utils/LoopUnroll.cpp')
0 files changed, 0 insertions, 0 deletions