HomePhabricator

[Target][ARM] Make Low Overhead Loops coexist with VPT blocks.

Authored by Pierre-vh on Apr 8 2020, 6:31 AM.

Description

[Target][ARM] Make Low Overhead Loops coexist with VPT blocks.

Previously, the LowOverheadLoops pass couldn't handle VPT blocks
with conditions, or with multiple VCTPs. This patch improves the
LowOverheadLoops pass so it can handle those cases.

It also adds support for VCMPs before the VCTP.

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

Details