[ARM] Fix for MVE VPT block pass
authorDavid Green <david.green@arm.com>
Mon, 22 Jul 2019 12:51:38 +0000 (12:51 +0000)
committerDavid Green <david.green@arm.com>
Mon, 22 Jul 2019 12:51:38 +0000 (12:51 +0000)
commit8876a312a8192191a6bcc1e99352e54223e7b868
treeb4378f5221fea7b539c91f6d3350c13daa8a0a22
parent8c5e6fa6575a57765248c158ddf88e4e383afd88
[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

llvm-svn: 366684
llvm/lib/Target/ARM/Thumb2ITBlockPass.cpp
llvm/test/CodeGen/Thumb2/mve-vpt-block2.mir
llvm/test/CodeGen/Thumb2/mve-vpt-block3.mir
llvm/test/CodeGen/Thumb2/mve-vpt-block4.mir
llvm/test/CodeGen/Thumb2/mve-vpt-block5.mir