HomePhabricator

[ARM] Improve handling of empty VPT blocks in tail predicated loops

Authored by dmgreen on Dec 14 2020, 3:17 AM.

Description

[ARM] Improve handling of empty VPT blocks in tail predicated loops

A vpt block that just contains either VPST;VCTP or VPT;VCTP, once the
VCTP is removed will become invalid. This fixed the first by removing
the now empty block and bails out for the second, as we have no simple
way of converting a VPT to a VCMP.

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