This is an archive of the discontinued LLVM Phabricator instance.

[VPlan] Support to widen call and select intructions in VPlan native path
AbandonedPublic

Authored by Kazhuu on Feb 21 2021, 6:32 AM.

Details

Reviewers
None

Diff Detail

Event Timeline

Kazhuu created this revision.Feb 21 2021, 6:32 AM
Kazhuu requested review of this revision.Feb 21 2021, 6:32 AM
Herald added a project: Restricted Project. · View Herald TranscriptFeb 21 2021, 6:32 AM
Kazhuu updated this revision to Diff 325294.Feb 21 2021, 6:50 AM

Add support to widen call and select instructions in VPlan native path by using correct recipes when such instruction is encountered. This is already used by inner loop vectorizer. I modified my previously committed VPlan test to also test for the call instruction widening.

Previously call and select instructions get handled by the wrong recipe and resulted in unreachable instruction errors like this one: https://bugs.llvm.org/show_bug.cgi?id=48139.

Kazhuu abandoned this revision.Feb 21 2021, 6:52 AM

Accidentally duplicated this with arcanist. Original diff here: https://reviews.llvm.org/D97136