aboutsummaryrefslogtreecommitdiff
path: root/llvm/tools/llvm-shlib/libllvm.cpp
diff options
context:
space:
mode:
authorMatthias Springer <me@m-sp.org>2025-07-26 16:29:56 +0200
committerGitHub <noreply@github.com>2025-07-26 16:29:56 +0200
commit0c804270d1264520808d02263f61ab4a02745d60 (patch)
tree66179514dacc1b509c5d41b8868cf43562d9bcb3 /llvm/tools/llvm-shlib/libllvm.cpp
parent08e101e274feb269f947fc49aea0d0677ce65bcd (diff)
downloadllvm-0c804270d1264520808d02263f61ab4a02745d60.zip
llvm-0c804270d1264520808d02263f61ab4a02745d60.tar.gz
llvm-0c804270d1264520808d02263f61ab4a02745d60.tar.bz2
[mlir][Transforms][NFC] Dialect Conversion: Improve `insert` callbacks (#150753)
This commit makes some minor NFC-style improvements to the `notifyBlockInserted` and `notifyOperationInserted` implementations: * Rename some variables. * Add more comments and document the fact the current mechanism has a bug when running in "rollback allowed" mode. * Move some code from the `notify...` functions into the constructor of the respective `IRRewrite` objects. This is in preparation of the One-Shot Dialect Conversion refactoring. The moved pieces of code are not needed in "no rollback" mode and properly encapsulated inside of `IRRewrite`, which is also not needed in "no rollback" mode. * Slightly improve `-debug` output.
Diffstat (limited to 'llvm/tools/llvm-shlib/libllvm.cpp')
0 files changed, 0 insertions, 0 deletions