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