[ARM] Fix for MVE VPT block pass
commit24c2613f0e15eb727b241837087dcb25ea5afb88
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
parent6e687b028476fa38932d496f8587d517b6dd903d
[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