[ARM][LowOverheadLoops] Dont ignore VCTP
authorSam Parker <sam.parker@arm.com>
Mon, 27 Jan 2020 10:58:46 +0000 (10:58 +0000)
committerSam Parker <sam.parker@arm.com>
Mon, 27 Jan 2020 10:59:12 +0000 (10:59 +0000)
commit6c2df5d14f7adba1ec7decbece29162aa3a30861
tree73f7e1172005dc354d7ba50ada42547af63040be
parentb46baa82fc3ec679cd6192b8ee04960c3e541ed1
[ARM][LowOverheadLoops] Dont ignore VCTP

When expanding the LoopStart, we try to remove the iteration count
calculation. However, if part of the calculation was also used to
calculate the number of elements we could end up deleting
instructions that were required to feed DLSTP/WLSTP.

Differential Revision: https://reviews.llvm.org/D73275
llvm/lib/Target/ARM/ARMLowOverheadLoops.cpp
llvm/test/CodeGen/Thumb2/LowOverheadLoops/dont-ignore-vctp.mir [new file with mode: 0644]