SETEND is not allowed in an IT block.
authorOwen Anderson <resistor@mac.com>
Thu, 13 Oct 2011 17:58:39 +0000 (17:58 +0000)
committerOwen Anderson <resistor@mac.com>
Thu, 13 Oct 2011 17:58:39 +0000 (17:58 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@141874 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Target/ARM/Disassembler/ARMDisassembler.cpp

index d33cb9491682a095a8cd449c5f7fe83f442206ef..702a794fad87d2a562b2dcd9701934281ae1bd5c 100644 (file)
@@ -598,6 +598,7 @@ ThumbDisassembler::AddThumbPredicate(MCInst &MI) const {
     case ARM::t2CPS2p:
     case ARM::t2CPS1p:
     case ARM::tMOVSr:
+    case ARM::tSETEND:
       // Some instructions (mostly conditional branches) are not
       // allowed in IT blocks.
       if (!ITBlock.empty())