[llvm] [VPlan] Simplify live-ins early using SCEV. (PR #155304)
Florian Hahn via llvm-commits
llvm-commits at lists.llvm.org
Thu Sep 11 08:13:44 PDT 2025
================
@@ -528,12 +529,30 @@ static void addInitialSkeleton(VPlan &Plan, Type *InductionTy, DebugLoc IVDL,
createExtractsForLiveOuts(Plan, MiddleVPBB);
}
+static void simplifyPlanWithSCEV(VPlan &Plan, ScalarEvolution &SE) {
+ auto SimplifyWithSCEV = [&](VPValue *VPV) -> VPValue * {
----------------
fhahn wrote:
Updated to `GetSimplifiedLiveInViaSCEV`. I have a few follow-up patches the generalize this to beyond constants.
https://github.com/llvm/llvm-project/pull/155304
More information about the llvm-commits
mailing list