HomePhabricator

[ARM][MVE] Tail-predication: check get.active.lane.mask's TC value

Authored by SjoerdMeijer on Sep 9 2020, 6:39 AM.

Description

[ARM][MVE] Tail-predication: check get.active.lane.mask's TC value

This adds additional checks for the original scalar loop tripcount value, i.e.
get.active.lane.mask second argument, and perform several sanity checks to see
if it is of the form that we expect similarly like we already do for the IV
which is the first argument of get.active.lane.

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