diff options
author | Matthias Springer <me@m-sp.org> | 2024-08-23 08:46:31 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-08-23 08:46:31 -0700 |
commit | a9f62244f28a64e7b7338c2299ba169df70fbb03 (patch) | |
tree | e8c015b60abdf757f160d2cf4ff1a03eb0413bf6 /llvm/lib/Bitcode/Writer/BitcodeWriter.cpp | |
parent | 5a25854ed18ec5a51df6d1f7a2366a574a6846b0 (diff) | |
download | llvm-a9f62244f28a64e7b7338c2299ba169df70fbb03.zip llvm-a9f62244f28a64e7b7338c2299ba169df70fbb03.tar.gz llvm-a9f62244f28a64e7b7338c2299ba169df70fbb03.tar.bz2 |
[mlir][Transforms][NFC] Move `ReconcileUnrealizedCasts` implementation (#104671)
Move the implementation of `ReconcileUnrealizedCasts` to
`DialectConversion.cpp`, so that it can be called from there in a future
commit.
This commit is in preparation of decoupling argument/source/target
materializations from the dialect conversion framework. The existing
logic around unresolved materializations that predicts IR changes to
decide if a cast op can be folded/erased will become obsolete, as
`ReconcileUnrealizedCasts` will perform these kind of foldings on fully
materialized IR.
---------
Co-authored-by: Markus Böck <markus.boeck02@gmail.com>
Diffstat (limited to 'llvm/lib/Bitcode/Writer/BitcodeWriter.cpp')
0 files changed, 0 insertions, 0 deletions