llvm-project
[VPlan] Implement VPlan-based cost model for VPReduction, VPExtendedReduction and VPMulAccumulateReduction.
#113903
Merged

[VPlan] Implement VPlan-based cost model for VPReduction, VPExtendedReduction and VPMulAccumulateReduction. #113903

ElvisWang123
ElvisWang123 ElvisWang123 requested a review from fhahn fhahn 1 year ago
ElvisWang123 ElvisWang123 requested a review from arcbbb arcbbb 1 year ago
ElvisWang123 ElvisWang123 requested a review from davemgreen davemgreen 1 year ago
ElvisWang123 ElvisWang123 requested a review from ayalz ayalz 1 year ago
llvmbot llvmbot added vectorizers
llvmbot llvmbot added llvm:transforms
llvmbot
davemgreen davemgreen requested a review from david-arm david-arm 1 year ago
davemgreen
fhahn
ElvisWang123
fhahn
davemgreen
davemgreen
ElvisWang123
davemgreen
ElvisWang123 ElvisWang123 force pushed from 442d1dd7 to bcccb133 1 year ago
ElvisWang123
davemgreen
davemgreen
ElvisWang123
davemgreen
davemgreen
davemgreen
fhahn
fhahn commented on 2024-11-08
ElvisWang123 ElvisWang123 force pushed from bcccb133 362 days ago
ElvisWang123
ElvisWang123 ElvisWang123 force pushed to 234e81ee 362 days ago
davemgreen
davemgreen
davemgreen commented on 2024-11-12
davemgreen
ElvisWang123
fhahn
fhahn commented on 2024-11-13
davemgreen
ElvisWang123 ElvisWang123 force pushed to e4aa4f3a 358 days ago
ElvisWang123 ElvisWang123 force pushed to 9f099300 348 days ago
ElvisWang123
ElvisWang123 ElvisWang123 force pushed from 9f099300 to ffeccf46 340 days ago
ElvisWang123
ElvisWang123 [VPlan] Impl VPlan-based pattern match for ExtendedRed and MulAccRed.…
33b1f601
ElvisWang123 Partially support Extended-reduction.
68fbd704
ElvisWang123 Support MulAccRecipe
c8c9d564
ElvisWang123 Fix servel errors and update tests.
d29a1189
ElvisWang123 Refactors
e5b50f78
ElvisWang123 Fix typos and update printing test
cc004ffd
ElvisWang123 Fold reduce.add(zext(mul(sext(A), sext(B)))) into MulAccRecipe when A…
b5445ca7
ElvisWang123 Refactor! Reuse functions from VPReductionRecipe.
1df91d49
ElvisWang123 Refactor! Add comments and refine new recipes.
a0b2f30c
ElvisWang123 Remove underying instruction dependency.
46928bdc
ElvisWang123 Revert "Remove underying instruction dependency."
35abf19f
ElvisWang123 Remove extended instruction after mul in MulAccRecipe.
453997e4
ElvisWang123 Refactor.
fa4f476c
ElvisWang123 Clamp the range when the ExtendedReduction or MulAcc cost is invalid.
86ad2d85
ElvisWang123 Try to not depend on underlying ext/mul instructions and preserve fla…
594f9e49
ElvisWang123 Update testcase and fix reduction cost.
52369d05
ElvisWang123 !fixup. Rebase to upstream `prepareToExecute()` implementation.
abc08f39
ElvisWang123 ElvisWang123 force pushed from ffeccf46 to abc08f39 338 days ago
fhahn
fhahn commented on 2024-12-09
ElvisWang123 Move VPReductionRecipe inherite from VPRecipeWithIRFlags.
729a70ea
ElvisWang123 Only create VPMulAcc/VPExtendedReduction recipe when beneficial. NFC
ea58282b
ElvisWang123 Merge branch 'main' into vp-arm-mve-transform
1c22ce2a
alexey-bataev
alexey-bataev commented on 2024-12-11
ElvisWang123 !fixup use `auto`
a9874560
ElvisWang123 !fixup VPReductionRecipe unit tests.
6c434c73
davemgreen
fhahn
fhahn commented on 2024-12-20
ElvisWang123 !fixup migrate tryTo* to VPlanTransforms
f4b1b78f
ElvisWang123 Implement clone() and add some docs.
bffcac5d
ElvisWang123 Update comments.
da705f1b
ElvisWang123 fix-ReductionEVLRecipe query underlyingInstr().
1dc279ef
ElvisWang123 Merge branch 'main' into vp-arm-mve-transform
20ea82e7
ElvisWang123 Update after merge.
90f9ffab
alexey-bataev
alexey-bataev commented on 2024-12-24
ElvisWang123 Address comments and split off abstract recipes creation from adjustR…
99512fed
alexey-bataev
alexey-bataev commented on 2024-12-26
ElvisWang123 !fixup using foldTailWithEVL.
2e4014a9
fhahn
fhahn commented on 2025-01-05
ElvisWang123 !fixup, remove extra debugLoc and move check of EVL out of transforms.
38dd9245
ElvisWang123 ElvisWang123 requested a review from DeinAlptraum DeinAlptraum 291 days ago
ElvisWang123 ElvisWang123 requested a review from aaupov aaupov 291 days ago
ElvisWang123 ElvisWang123 requested a review from maksfb maksfb 291 days ago
ElvisWang123 ElvisWang123 requested a review from rafaelauler rafaelauler 291 days ago
ElvisWang123 ElvisWang123 requested a review from ayermolo ayermolo 291 days ago
ElvisWang123 ElvisWang123 requested a review from dcci dcci 291 days ago
ElvisWang123 ElvisWang123 requested a review from yota9 yota9 291 days ago
ElvisWang123 ElvisWang123 requested a review from JDevlieghere JDevlieghere 291 days ago
ElvisWang123 ElvisWang123 requested a review from lanza lanza 291 days ago
ElvisWang123 ElvisWang123 requested a review from bcardosolopes bcardosolopes 291 days ago
ElvisWang123 ElvisWang123 requested a review from Endilll Endilll 291 days ago
ElvisWang123 ElvisWang123 requested a review 291 days ago
ElvisWang123 ElvisWang123 requested a review 291 days ago
ElvisWang123 ElvisWang123 requested a review 291 days ago
ElvisWang123 ElvisWang123 force pushed to 38dd9245 291 days ago
ElvisWang123 ElvisWang123 removed review request 291 days ago
ElvisWang123 ElvisWang123 removed review request 291 days ago
ElvisWang123 ElvisWang123 removed review request 291 days ago
ElvisWang123 ElvisWang123 removed review request from maksfb maksfb 291 days ago
ElvisWang123 ElvisWang123 removed review request from bcardosolopes bcardosolopes 291 days ago
ElvisWang123 ElvisWang123 removed review request from Endilll Endilll 291 days ago
ElvisWang123 ElvisWang123 removed review request from lanza lanza 291 days ago
ElvisWang123 ElvisWang123 removed review request from DeinAlptraum DeinAlptraum 291 days ago
ElvisWang123 ElvisWang123 removed review request from JDevlieghere JDevlieghere 291 days ago
ElvisWang123 ElvisWang123 removed review request from yota9 yota9 291 days ago
ElvisWang123 ElvisWang123 removed review request from aaupov aaupov 291 days ago
ElvisWang123 ElvisWang123 removed review request from rafaelauler rafaelauler 291 days ago
ElvisWang123 ElvisWang123 removed review request from ayermolo ayermolo 291 days ago
ElvisWang123 ElvisWang123 removed review request from dcci dcci 291 days ago
ElvisWang123 Merge branch 'main' into vp-arm-mve-transform
602a5e4e
ElvisWang123 Update after merge main.
1939d44c
ElvisWang123 Merge branch 'main' into vp-arm-mve-transform
2ee6e76b
ElvisWang123
ElvisWang123 Update after merge. Using runPass::().
d584fc1f
fhahn
fhahn commented on 2025-02-22
ElvisWang123 !fixup, Remove unused check and functions.
21b33e67
ElvisWang123
davemgreen
alexey-bataev
alexey-bataev commented on 2025-03-04
ElvisWang123 Merge branch 'main' into vp-arm-mve-transform
ae371e50
ElvisWang123 !fixup; Address comments.
0d7b7f33
ElvisWang123 ElvisWang123 changed the title [VPlan] Impl VPlan-based pattern match for ExtendedRed and MulAccRed (NFCI) [VPlan] Impl VPlan-based pattern match for ExtendedRed and MulAccRed 249 days ago
ElvisWang123
davemgreen
ElvisWang123
davemgreen
ElvisWang123 !fixup, Add Mul cost to prevent FMuladd Reduction cost misaligned.
e12bd048
davemgreen
davemgreen commented on 2025-03-09
ElvisWang123 !Fixup, typo.
4906637b
fhahn
fhahn commented on 2025-03-10
ElvisWang123 Merge branch 'main' into vp-arm-mve-transform
ca5db100
ElvisWang123 !fixup, Address comments and fix VPReductionRecipe::computeCost
2fbdc7ca
ElvisWang123
ElvisWang123 commented on 2025-03-19
ElvisWang123 Merge branch 'main' into vp-arm-mve-transform
38d83bfc
ElvisWang123 Merge branch 'main' into vp-arm-mve-transform
3e2acadd
ElvisWang123 !fixup, Update after merge, using std::array.
d2a5a432
github-actions
ElvisWang123 fixup, formatting.
484f9cce
fhahn
fhahn commented on 2025-03-19
ElvisWang123 !fixup, address comments.
cd86af41
lukel97
lukel97 commented on 2025-03-20
fhahn
fhahn commented on 2025-03-24
ElvisWang123 Merge branch 'main' into vp-arm-mve-transform
84f8a464
ElvisWang123 !fixup, formatting and address comments.
36e10329
ElvisWang123
ElvisWang123 commented on 2025-03-25
SamTebbs33 SamTebbs33 requested a review from SamTebbs33 SamTebbs33 226 days ago
ElvisWang123
fhahn
fhahn commented on 2025-04-02
ElvisWang123 !fixup, Update inferScalarType and not clear the VF of plan.
2483a29d
sdesmalen-arm
sdesmalen-arm commented on 2025-04-10
ElvisWang123 !fixup, address comments.
56dcd904
fhahn
fhahn commented on 2025-04-11
sdesmalen-arm
sdesmalen-arm commented on 2025-04-11
ElvisWang123 Merge branch 'main' into vp-arm-mve-transform
26d938a2
ElvisWang123 !fixup, address comments.
b32538f4
fhahn
fhahn commented on 2025-04-21
fhahn
fhahn commented on 2025-04-22
SamTebbs33
SamTebbs33 commented on 2025-04-22
ElvisWang123 !fixup, address comments and using `transferFlags()` to copy nneg.
fd539f86
sdesmalen-arm
sdesmalen-arm requested changes on 2025-04-23
ElvisWang123 !fixup, address comments.
71c74013
sdesmalen-arm
sdesmalen-arm approved these changes on 2025-04-23
fhahn
fhahn commented on 2025-04-23
ElvisWang123 !fixup, Add new recipes to mayReadWriteMemory.
7da7983f
fhahn
fhahn commented on 2025-04-27
fhahn
ElvisWang123
fhahn
ElvisWang123
ElvisWang123 Merge branch 'main' into vp-arm-mve-transform
f4afc2c7
ElvisWang123 Fixup after merge.
7b257671
ElvisWang123
ElvisWang123 commented on 2025-05-19
ElvisWang123 ElvisWang123 changed the title [VPlan] Impl VPlan-based pattern match for ExtendedRed and MulAccRed [VPlan] Implement VPlan-based cost model for VPReduction, VPExtendedReduction and VPMulAccumulateReduction. (NFC) 173 days ago
sdesmalen-arm
sdesmalen-arm approved these changes on 2025-05-27
sdesmalen-arm
fhahn
fhahn approved these changes on 2025-05-27
ElvisWang123 Merge branch 'main' into vp-arm-mve-transform
685f2173
ElvisWang123 Address comments.
710df444
ElvisWang123 Merge branch 'main' into vp-arm-mve-transform
829cb2a9
ElvisWang123 ElvisWang123 changed the title [VPlan] Implement VPlan-based cost model for VPReduction, VPExtendedReduction and VPMulAccumulateReduction. (NFC) [VPlan] Implement VPlan-based cost model for VPReduction, VPExtendedReduction and VPMulAccumulateReduction. 163 days ago
ElvisWang123 ElvisWang123 merged 332fe08f into main 163 days ago
ElvisWang123 ElvisWang123 deleted the vp-arm-mve-transform branch 163 days ago

Login to write a write a comment.

Login via GitHub

Assignees
No one assigned
Labels
Milestone