mirror of
https://github.com/RPCSX/llvm.git
synced 2025-04-14 14:10:00 +00:00
Thumb2 TBB and TBH instructions are only allowed at the end of IT blocks, not in the middle.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@140079 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
7f739bee26
commit
04c7877894
@ -454,6 +454,8 @@ ThumbDisassembler::AddThumbPredicate(MCInst &MI) const {
|
|||||||
break;
|
break;
|
||||||
case ARM::tB:
|
case ARM::tB:
|
||||||
case ARM::t2B:
|
case ARM::t2B:
|
||||||
|
case ARM::t2TBB:
|
||||||
|
case ARM::t2TBH:
|
||||||
// Some instructions (mostly unconditional branches) can
|
// Some instructions (mostly unconditional branches) can
|
||||||
// only appears at the end of, or outside of, an IT.
|
// only appears at the end of, or outside of, an IT.
|
||||||
if (ITBlock.size() > 1)
|
if (ITBlock.size() > 1)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user