Thumb instructions which have reglist operands at the end and predicate operands
authorJohnny Chen <johnny.chen@apple.com>
Wed, 21 Apr 2010 01:01:19 +0000 (01:01 +0000)
committerJohnny Chen <johnny.chen@apple.com>
Wed, 21 Apr 2010 01:01:19 +0000 (01:01 +0000)
commit52d2b0ed00d71c8ba0ff1a0b35cad4ffebc81dd5
tree4484239135c3e256fd5025a34a49e57bca69773d
parent08e322db8a544d100f7518cfbd39ef8c13067698
Thumb instructions which have reglist operands at the end and predicate operands
before reglist were not properly handled with respect to IT Block.  Fix that by
creating a new method ARMBasicMCBuilder::DoPredicateOperands() used by those
instructions for disassembly.  Add a test case.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@101974 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/ARM/Disassembler/ARMDisassemblerCore.cpp
lib/Target/ARM/Disassembler/ARMDisassemblerCore.h
lib/Target/ARM/Disassembler/ThumbDisassemblerCore.h
test/MC/Disassembler/thumb-tests.txt