Fixed a bug in the IT mask printing where T means the cond bit in the mask
authorJohnny Chen <johnny.chen@apple.com>
Wed, 17 Mar 2010 23:14:23 +0000 (23:14 +0000)
committerJohnny Chen <johnny.chen@apple.com>
Wed, 17 Mar 2010 23:14:23 +0000 (23:14 +0000)
commitb675e255d0def28e9718c62336be6fd6e7a22e54
tree275c1afb9a954d95bc7b72631ec268444c3fbd4f
parent77bdc48eb66396cbc4f81bfd1ac9de257b83cf41
Fixed a bug in the IT mask printing where T means the cond bit in the mask
matches that of Firstcond[0] and E means otherwise.  The Firstcond[0] is also
tagged in the Mask to facilitate Asm printing.  The disassembler also depends
on this arrangement.  This is similar to what's described in A2.5.2 ITSTATE.

Ran:

utils/lit/lit.py test/CodeGen/ARM test/CodeGen/Thumb test/CodeGen/Thumb2

successfully.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@98775 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/ARM/Thumb2ITBlockPass.cpp