[all-commits] [llvm/llvm-project] 533e6b: [VPlan] Simplify live-ins if they are SCEVConstant.
Florian Hahn via All-commits
all-commits at lists.llvm.org
Mon Aug 26 01:16:24 PDT 2024
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 533e6bbd0d344a710c491a9eb0ce0ba0852b08cb
https://github.com/llvm/llvm-project/commit/533e6bbd0d344a710c491a9eb0ce0ba0852b08cb
Author: Florian Hahn <flo at fhahn.com>
Date: 2024-08-26 (Mon, 26 Aug 2024)
Changed paths:
M llvm/lib/Transforms/Vectorize/VPRecipeBuilder.h
M llvm/test/Transforms/LoopVectorize/X86/cost-model.ll
Log Message:
-----------
[VPlan] Simplify live-ins if they are SCEVConstant.
The legacy cost model in some parts checks if any of the operands are
constants via SCEV. Update VPlan construction to replace live-ins that
are constants via SCEV with such constants. This means VPlans (and
codegen) reflects what we computing the cost of and removes another case
where the legacy and VPlan cost model diverged.
Fixes https://github.com/llvm/llvm-project/issues/105722.
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