llvm-project
[VPlan] Don't use the legacy cost model for loop conditions
#156864
Merged

[VPlan] Don't use the legacy cost model for loop conditions #156864

john-brawn-arm
john-brawn-arm [VPlan] Don't use the legacy cost model for loop conditions
861d8836
john-brawn-arm john-brawn-arm requested a review from fhahn fhahn 289 days ago
john-brawn-arm john-brawn-arm requested a review from SamTebbs33 SamTebbs33 289 days ago
john-brawn-arm john-brawn-arm requested a review from lukel97 lukel97 289 days ago
john-brawn-arm john-brawn-arm requested a review from david-arm david-arm 289 days ago
llvmbot llvmbot added backend:RISC-V
llvmbot llvmbot added vectorizers
llvmbot llvmbot added llvm:transforms
llvmbot
john-brawn-arm Do TC <= VF check differently to avoid llvm::PatternMatch error
c3f2e8f0
john-brawn-arm Merge branch 'main' into vplan_cmp_cost
77a27697
david-arm david-arm requested a review from igogo-x86 igogo-x86 284 days ago
david-arm
david-arm commented on 2025-09-09
fhahn
fhahn commented on 2025-09-09
john-brawn-arm Add extra comment to VPInstruction::computeCost
19b984ca
john-brawn-arm Merge branch 'main' into vplan_cmp_cost
2b836988
john-brawn-arm Merge branch 'main' into vplan_cmp_cost
ec22b08d
fhahn
fhahn commented on 2025-09-18
john-brawn-arm Merge branch 'main' into vplan_cmp_cost
1bf36116
john-brawn-arm Use VPlanPatternMatch for counting the number of compares
2a6c4903
john-brawn-arm Merge branch 'main' into vplan_cmp_cost
6e23400b
john-brawn-arm Merge branch 'main' into vplan_cmp_cost
24fa802d
john-brawn-arm
david-arm
david-arm commented on 2025-10-14
john-brawn-arm Use getCostForRecipeWithOpcode for cmp cost
515264b9
john-brawn-arm Merge branch 'main' into vplan_cmp_cost
50b801ff
john-brawn-arm Fix tests after merge
2d3999b6
david-arm
david-arm commented on 2025-10-21
fhahn
fhahn commented on 2025-10-21
john-brawn-arm Adjust cmp cost calculation
33b76ce8
john-brawn-arm Make planContainsDifferentCompares ignore blocks outside the vector r…
8c21ea35
john-brawn-arm Merge branch 'main' into vplan_cmp_cost
759741c1
john-brawn-arm Update test after merge
60b76a26
john-brawn-arm Merge branch 'main' into vplan_cmp_cost
8a4c2adc
john-brawn-arm Merge branch 'main' into vplan_cmp_cost
ae498b81
john-brawn-arm Merge branch 'main' into vplan_cmp_cost
a6bac7a3
john-brawn-arm Merge branch 'main' into vplan_cmp_cost
f41782c7
github-actions
john-brawn-arm Merge branch 'main' into vplan_cmp_cost
7d21018d
john-brawn-arm Update test after merge
b175ee32
john-brawn-arm Merge branch 'main' into vplan_cmp_cost
bfe6fc04
john-brawn-arm Merge branch 'main' into vplan_cmp_cost
7054e6be
john-brawn-arm Adjust planContainsAdditionalSimplifications so loop exit conditions …
7ec4f3df
john-brawn-arm Merge branch 'main' into vplan_cmp_cost
40a14500
john-brawn-arm Update tests
a4a2f8cf
john-brawn-arm Merge branch 'main' into vplan_cmp_cost
90bbfb41
fhahn
fhahn commented on 2026-01-05
john-brawn-arm Merge branch 'main' into vplan_cmp_cost
976b1412
john-brawn-arm Update tests after merge
f0fa9876
john-brawn-arm
john-brawn-arm Merge branch 'main' into vplan_cmp_cost
67836fec
john-brawn-arm Update tests after merge
119c7238
john-brawn-arm Merge branch 'main' into vplan_cmp_cost
2290d2bf
john-brawn-arm Update tests
83920519
github-actions
john-brawn-arm Update another test
7cc44b33
john-brawn-arm
fhahn
fhahn commented on 2026-02-02
john-brawn-arm Merge branch 'main' into vplan_cmp_cost
4e472188
john-brawn-arm Distinguish between vector and scalar compares in planContainsDiffere…
34010cd6
john-brawn-arm Add test of cases where cost models disagree
ee5d7b97
john-brawn-arm
john-brawn-arm
fhahn
john-brawn-arm
john-brawn-arm Merge branch 'main' into vplan_cmp_cost
0ecfe73d
john-brawn-arm Remove exit condition check in planContainsAdditionalSimplifications
e67c55c5
john-brawn-arm john-brawn-arm requested a review from nikic nikic 122 days ago
john-brawn-arm Merge branch 'main' into vplan_cmp_cost
8ffba0c6
john-brawn-arm john-brawn-arm force pushed to 8ffba0c6 122 days ago
fhahn
fhahn commented on 2026-03-02
john-brawn-arm Merge branch 'main' into vplan_cmp_cost
84931302
john-brawn-arm
john-brawn-arm Mark BranchOnCond as having the same underlying value as the cond it'…
a82d55dd
john-brawn-arm Use shallow traversal
a925fed4
john-brawn-arm
john-brawn-arm Merge branch 'main' into vplan_cmp_cost
411a0676
john-brawn-arm Update unit tests
0710a467
john-brawn-arm Merge branch 'main' into vplan_cmp_cost
62c6f3da
john-brawn-arm Merge branch 'main' into vplan_cmp_cost
b24f86c0
john-brawn-arm
john-brawn-arm Merge branch 'main' into vplan_cmp_cost
86368bc2
john-brawn-arm clang-format
e703a182
john-brawn-arm Fix incorrect changes to tests from merge
a73f042c
john-brawn-arm BranchOnTwoConds uses first lane only
5d072a75
john-brawn-arm Merge branch 'main' into vplan_cmp_cost
8470947d
john-brawn-arm Merge branch 'main' into vplan_cmp_cost
1a524759
john-brawn-arm Remove everything to do with removing the compare in addCanonicalIVRe…
49e60d7c
john-brawn-arm
john-brawn-arm Remove changes to SystemZ/force-target-instruction-cost.ll
2cff8063
john-brawn-arm
john-brawn-arm Merge branch 'main' into vplan_cmp_cost
811e3757
john-brawn-arm Update conditional-branches-cost.ll test
017061c8
david-arm
david-arm commented on 2026-04-21
john-brawn-arm Merge branch 'main' into vplan_cmp_cost
dc693b5d
john-brawn-arm Merge branch 'main' into vplan_cmp_cost
48ed9483
john-brawn-arm Merge branch 'main' into vplan_cmp_cost
ff3c5cb1
john-brawn-arm Merge branch 'main' into vplan_cmp_cost
777799a2
john-brawn-arm Merge branch 'main' into vplan_cmp_cost
ecede581
john-brawn-arm Merge branch 'main' into vplan_cmp_cost
9c88c10a
david-arm
david-arm commented on 2026-05-11
john-brawn-arm Merge branch 'main' into vplan_cmp_cost
1027cab0
john-brawn-arm Merge branch 'main' into vplan_cmp_cost
54363c33
john-brawn-arm Merge branch 'main' into vplan_cmp_cost
e3851390
fhahn
fhahn commented on 2026-05-28
john-brawn-arm Revert a couple of tests to what they currently are on main
6fc2e5c7
fhahn
fhahn approved these changes on 2026-06-03
john-brawn-arm Merge branch 'main' into vplan_cmp_cost
42c2c22f
john-brawn-arm Remove use of inferScalarType
fdb360c7
john-brawn-arm john-brawn-arm merged b1d5d7e3 into main 17 days ago
john-brawn-arm john-brawn-arm deleted the vplan_cmp_cost branch 17 days ago

Login to write a write a comment.

Login via GitHub

Assignees
No one assigned
Labels
Milestone