diff options
| author | Kevin Enderby <enderby@apple.com> | 2012-03-01 22:13:02 +0000 |
|---|---|---|
| committer | Kevin Enderby <enderby@apple.com> | 2012-03-01 22:13:02 +0000 |
| commit | f0269b42705a1c4281c30f1c01bcffa40eef7003 (patch) | |
| tree | 6e3b2929e30335a4c63a8bf4f4227b742b0e0839 /llvm/test | |
| parent | 6bbe1f0d1065b91c08cb6bb882046930cdb1b684 (diff) | |
| download | bcm5719-llvm-f0269b42705a1c4281c30f1c01bcffa40eef7003.tar.gz bcm5719-llvm-f0269b42705a1c4281c30f1c01bcffa40eef7003.zip | |
Change ARMInstPrinter::printPredicateOperand() so it will not abort if it
runs into the undefined 15 condition code value.
llvm-svn: 151844
Diffstat (limited to 'llvm/test')
| -rw-r--r-- | llvm/test/MC/Disassembler/ARM/invalid-IT-CC15.txt | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/llvm/test/MC/Disassembler/ARM/invalid-IT-CC15.txt b/llvm/test/MC/Disassembler/ARM/invalid-IT-CC15.txt new file mode 100644 index 00000000000..17e25ead42f --- /dev/null +++ b/llvm/test/MC/Disassembler/ARM/invalid-IT-CC15.txt @@ -0,0 +1,18 @@ +# RUN: llvm-mc --disassemble %s -triple=thumbv7-unknown-unknown |& grep und +# rdar://10841671 + +0xe3 0xbf +0xdf 0xed 0x61 0x3b +0x71 0xee 0xe0 0x1b +0x72 0xee 0xa3 0x2b +0xdf 0xed 0x60 0x0b + +# This is test is dealing with a undefined condition code value of 15 in the +# above sequence of junk bytes and not allowing the disassembler to abort on +# printing the final instruction in this list. +# +# ittte al +# vldr d19, [pc, #388] +# vsub.f64 d17, d17, d16 +# vadd.f64 d18, d18, d19 +# vldr<und> d16, [pc, #384] |

