HomePhabricator

[LV] Don't sink into replication regions

Authored by dmgreen on Jan 8 2021, 1:50 AM.

Description

[LV] Don't sink into replication regions

The new test case here contains a first order recurrences and an
instruction that is replicated. The first order recurrence forces an
instruction to be sunk _into_, as opposed to after the replication
region. That causes several things to go wrong including registering
vector instructions multiple times and failing to create dominance
relations correctly.

Instead we should be sinking to after the replication region, which is
what this patch makes sure happens.

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

Details

Committed
dmgreenJan 8 2021, 1:50 AM
Differential Revision
D93629: [LV] Don't sink into replication regions
Parents
rG12167632bc5c: [VE] Add SVOB intrinsic instruction
Branches
Unknown
Tags
Unknown