[all-commits] [llvm/llvm-project] 4cb4bc: [mlir][Transforms][NFC] Dialect conversion: Cache ...
Matthias Springer via All-commits
all-commits at lists.llvm.org
Thu Sep 12 06:31:50 PDT 2024
Branch: refs/heads/users/matthias-springer/mat_cache
Home: https://github.com/llvm/llvm-project
Commit: 4cb4bcf54a267258f9d7129b347419897a164df7
https://github.com/llvm/llvm-project/commit/4cb4bcf54a267258f9d7129b347419897a164df7
Author: Matthias Springer <mspringer at nvidia.com>
Date: 2024-09-12 (Thu, 12 Sep 2024)
Changed paths:
M mlir/lib/Transforms/Utils/DialectConversion.cpp
Log Message:
-----------
[mlir][Transforms][NFC] Dialect conversion: Cache `UnresolvedMaterializationRewrite`
The dialect conversion already maintains a set of unresolved materializations (`UnrealizedConversionCastOp`). Turn that set into a map that maps from ops to `UnresolvedMaterializationRewrite *`. This improves efficiency a bit, because an iteration over `ConversionPatternRewriterImpl::rewrites` can be avoided.
Also delete some dead code.
To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications
More information about the All-commits
mailing list