]> granicus.if.org Git - llvm/commit
[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)
commit4dd96ffa90fcedd164ad7a1c583a0c33449d74b8
tree5250400df85254d2f29b5eed9c6b053404956ccf
parent7e7d3003e4d30d3fb841c0bd19da9d8d2f47f56c
[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

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@372567 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/ARM/ARMInstrMVE.td
lib/Target/ARM/MVETailPredication.cpp
test/CodeGen/Thumb2/LowOverheadLoops/cond-vector-reduce-mve-codegen.ll [new file with mode: 0644]
test/CodeGen/Thumb2/LowOverheadLoops/vector-arith-codegen.ll [new file with mode: 0644]
test/CodeGen/Thumb2/LowOverheadLoops/vector-reduce-mve-tail.ll [new file with mode: 0644]
test/CodeGen/Thumb2/mve-vctp.ll