[ARM] Fix for MVE VPT block pass
commitc9cab6442b8158d0080f776cae0cdb2b8a426144
authorDavid Green <david.green@arm.com>
Mon, 22 Jul 2019 12:51:38 +0000 (22 12:51 +0000)
committerDavid Green <david.green@arm.com>
Mon, 22 Jul 2019 12:51:38 +0000 (22 12:51 +0000)
treefc0e33297efb0306b22692e4d39b702906408f76
parentea8885459e08fa944c2aee51c9896fe30d33d2e1
[ARM] Fix for MVE VPT block pass

We need to ensure that the number of T's is correct when adding multiple
instructions into the same VPT block.

Differential revision: https://reviews.llvm.org/D65049

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@366684 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/ARM/Thumb2ITBlockPass.cpp
test/CodeGen/Thumb2/mve-vpt-block2.mir
test/CodeGen/Thumb2/mve-vpt-block3.mir
test/CodeGen/Thumb2/mve-vpt-block4.mir
test/CodeGen/Thumb2/mve-vpt-block5.mir