[ARM][MVE] Remove old tail predicates
authorSam Parker <sam.parker@arm.com>
Mon, 23 Sep 2019 09:48:25 +0000 (09:48 +0000)
committerSam Parker <sam.parker@arm.com>
Mon, 23 Sep 2019 09:48:25 +0000 (09:48 +0000)
commit9feb429a337ff49fe119a64bff3724fb820c4501
tree2ab99115a6b989822c1243c41a07497fe1632313
parent14f6465c157b36c50ffe431463a9c94efda42b99
[ARM][MVE] Remove old tail predicates

Remove any predicate that we replace with a vctp intrinsic, and try
to remove their operands too. Also look into the exit block to see if
there's any duplicates of the predicates that we've replaced and
clone the vctp to be used there instead.

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

llvm-svn: 372567
llvm/lib/Target/ARM/ARMInstrMVE.td
llvm/lib/Target/ARM/MVETailPredication.cpp
llvm/test/CodeGen/Thumb2/LowOverheadLoops/cond-vector-reduce-mve-codegen.ll [new file with mode: 0644]
llvm/test/CodeGen/Thumb2/LowOverheadLoops/vector-arith-codegen.ll [new file with mode: 0644]
llvm/test/CodeGen/Thumb2/LowOverheadLoops/vector-reduce-mve-tail.ll [new file with mode: 0644]
llvm/test/CodeGen/Thumb2/mve-vctp.ll