[ARM][LowOverheadLoops] Allow tail predication on predicated instructions with unknow...
authorSam Tebbs <samuel.tebbs@arm.com>
Wed, 9 Sep 2020 13:01:02 +0000 (14:01 +0100)
committerSam Tebbs <samuel.tebbs@arm.com>
Thu, 10 Sep 2020 09:34:32 +0000 (10:34 +0100)
commitb81c57d646e49c15de1b6e2938b8689b7854a02b
treec3a57f53ee564e9945949461ffb5e092886ae13a
parent6313f5561945930e9a5ec63cb187605ce741bb61
[ARM][LowOverheadLoops] Allow tail predication on predicated instructions with unknown lane
values

The effects of unpredicated vector instruction with unknown
lanes cannot be predicted and therefore cannot be tail predicated. This
does not apply to predicated vector instructions and so this patch
allows tail predication on them.

Differential Revision: https://reviews.llvm.org/D87376
llvm/lib/Target/ARM/ARMLowOverheadLoops.cpp
llvm/test/CodeGen/Thumb2/LowOverheadLoops/predicated-liveout-unknown-lanes.ll [new file with mode: 0644]
llvm/test/CodeGen/Thumb2/mve-pred-vctpvpsel.ll