diff options
author | Mehdi Amini <joker.eph@gmail.com> | 2025-09-11 15:17:10 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-09-11 14:17:10 +0000 |
commit | b22f94dcc58e09710c188045b498a201db83d9a2 (patch) | |
tree | bf56938b32307e663cce8895c34ad4f8fef93d09 /llvm/unittests/Support/MathExtrasTest.cpp | |
parent | 4ce74bfb4d218392719ad610c9dfc467042a6b58 (diff) | |
download | llvm-b22f94dcc58e09710c188045b498a201db83d9a2.zip llvm-b22f94dcc58e09710c188045b498a201db83d9a2.tar.gz llvm-b22f94dcc58e09710c188045b498a201db83d9a2.tar.bz2 |
[MLIR] Enable caching of type conversion in the presence of context-aware conversion (#158072)
The current implementation is overly conservative and disable all
possible caching as soon as a context-aware conversion is present.
However the context-aware conversion only affects subsequent converters,
we can cache the previous ones.
This isn't NFC because if fixed a bug where we use to unconditionally
cache when using the `convertType(Type t, ...` API, while now all APIs
are aware of context-aware conversions.
Diffstat (limited to 'llvm/unittests/Support/MathExtrasTest.cpp')
0 files changed, 0 insertions, 0 deletions