[all-commits] [llvm/llvm-project] 066359: [mlir][Transforms][NFC] Dialect conversion: Cache ...
Matthias Springer via All-commits
all-commits at lists.llvm.org
Thu Sep 12 06:36:22 PDT 2024
Branch: refs/heads/users/matthias-springer/mat_cache
Home: https://github.com/llvm/llvm-project
Commit: 066359ee23356ba7ab508f69b5b63f311200f5d7
https://github.com/llvm/llvm-project/commit/066359ee23356ba7ab508f69b5b63f311200f5d7
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