HomePhabricator

[LV] Model masking in VPlan, introducing VPInstructions

Authored by gilr on Nov 20 2017, 4:01 AM.

Description

[LV] Model masking in VPlan, introducing VPInstructions

This patch adds a new abstraction layer to VPlan and leverages it to model the planned
instructions that manipulate masks (AND, OR, NOT), introduced during predication.

The new VPValue and VPUser classes model how data flows into, through and out
of a VPlan, forming the vertices of a planned Def-Use graph. The new
VPInstruction class is a generic single-instruction Recipe that models a
planned instruction along with its opcode, operands and users. See
VectorizationPlan.rst for more details.

Differential Revision: https://reviews.llvm.org/D38676

llvm-svn: 318645

Details

Committed
gilrNov 20 2017, 4:01 AM
Differential Revision
D38676: [LV] Model masking in VPlan, introducing VPInstructions
Parents
rGfa03a6a03418: [Driver] Add a cc1 flag for the new TBAA metadata format
Branches
Unknown
Tags
Unknown