[llvm] [LoopVectorize][NFC] Simplify ScaledReductionExitInstrs map (PR #123368)
David Sherwood via llvm-commits
llvm-commits at lists.llvm.org
Mon Jan 20 03:48:46 PST 2025
================
@@ -88,8 +88,7 @@ class VPRecipeBuilder {
/// The set of reduction exit instructions that will be scaled to
/// a smaller VF via partial reductions, paired with the scaling factor.
- DenseMap<const Instruction *, std::pair<PartialReductionChain, unsigned>>
- ScaledReductionExitInstrs;
+ DenseMap<const Instruction *, unsigned> ScaledReductionExitInstrs;
----------------
david-arm wrote:
I'm not sure what name I would change it to? Something like `ScaledReductionMap`? `ScalingFactorMap`?
https://github.com/llvm/llvm-project/pull/123368
More information about the llvm-commits
mailing list