Page MenuHomePhabricator

[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

Unit TestsFailed

TimeTest
1,050 msx64 windows > MLIR.Examples/Toy/Ch6::jit.toy
Script: -- : 'RUN: at line 1'; toyc-ch6 -emit=jit C:\ws\w1\llvm-project\premerge-checks\mlir\test\Examples\Toy\Ch6\jit.toy
910 msx64 windows > MLIR.Examples/Toy/Ch7::jit.toy
Script: -- : 'RUN: at line 1'; toyc-ch7 -emit=jit C:\ws\w1\llvm-project\premerge-checks\mlir\test\Examples\Toy\Ch7\jit.toy

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