ARM instructions that are both predicated and set the condition codes
authorBob Wilson <bob.wilson@apple.com>
Fri, 15 Oct 2010 03:23:44 +0000 (03:23 +0000)
committerBob Wilson <bob.wilson@apple.com>
Fri, 15 Oct 2010 03:23:44 +0000 (03:23 +0000)
commitcfbece50f602c561c5eac046bcfc9a07c8c006cb
tree904ee8a1d808cf76884285c7601f21e19b84dc78
parent197a8df6405511e78265b09b6b313c30e7679094
ARM instructions that are both predicated and set the condition codes
have been printed with the "S" modifier after the predicate.  With ARM's
unified syntax, they are supposed to go in the other order.  We fixed this
for Thumb when we switched to unified syntax but missed changing it for
ARM.  Apparently we don't generate these instructions often because no one
noticed until now.  Thanks to Bill Wendling for the testcase!

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@116563 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/ARM/ARMInstrFormats.td
test/CodeGen/ARM/arm-and-tst-peephole.ll
test/MC/Disassembler/arm-tests.txt