HomePhabricator

[SLPVectorizer] Ignore unreachable blocks

Authored by hvdijk on Jun 1 2021, 12:21 PM.

Description

[SLPVectorizer] Ignore unreachable blocks

As the existing test unreachable.ll shows, we should be doing more
work to avoid entering unreachable blocks: we should not stop
vectorization just because a PHI incoming value from an unreachable
block cannot be vectorized. We know that particular value will never
be used so we can just replace it with poison.

Details

Committed
hvdijkJun 1 2021, 12:21 PM
Differential Revision
D103479: [SLP] Ignore unreachable blocks
Parents
rG2020c981faa0: [OpenMP] Add L2-Tile equivalence for KNL
Branches
Unknown
Tags
Unknown