forked from OSchip/llvm-project
Thumb2 TBB and TBH instructions are only allowed at the end of IT blocks, not in the middle.
llvm-svn: 140079
This commit is contained in:
parent
05541f45f3
commit
f902d92fc9
|
@ -454,6 +454,8 @@ ThumbDisassembler::AddThumbPredicate(MCInst &MI) const {
|
|||
break;
|
||||
case ARM::tB:
|
||||
case ARM::t2B:
|
||||
case ARM::t2TBB:
|
||||
case ARM::t2TBH:
|
||||
// Some instructions (mostly unconditional branches) can
|
||||
// only appears at the end of, or outside of, an IT.
|
||||
if (ITBlock.size() > 1)
|
||||
|
|
Loading…
Reference in New Issue