[ARM] Change VPT state assertion
authorSam Parker <sam.parker@arm.com>
Thu, 24 Sep 2020 13:02:53 +0000 (14:02 +0100)
committerSam Parker <sam.parker@arm.com>
Wed, 30 Sep 2020 07:01:10 +0000 (08:01 +0100)
commit195c22f2733cf923b932412f0fe212f4ef397d2c
treee70528e8f4dbca0be2023dd08c456530ea8a30f5
parent154860af338f7b0c82cb04e91d6f199aa72cfdff
[ARM] Change VPT state assertion

Just because we haven't encountered an instruction setting the VPR,
it doesn't mean we can't create a VPT block - the VPR maybe a
live-in.

Differential Revision: https://reviews.llvm.org/D88224
llvm/lib/Target/ARM/ARMLowOverheadLoops.cpp
llvm/test/CodeGen/Thumb2/LowOverheadLoops/begin-vpt-without-inst.mir [new file with mode: 0644]