aboutsummaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorJames Molloy <james.molloy@arm.com>2012-02-09 10:56:31 +0000
committerJames Molloy <james.molloy@arm.com>2012-02-09 10:56:31 +0000
commit3015dfb7d739f4cc0b1408555889ecea880ffac9 (patch)
tree79d02b8866c917e837cecea2f6e2ca42fa9a680c /test
parentf41ab77847251f1ca88142b4e9cba597f9c094a8 (diff)
downloadexternal_llvm-3015dfb7d739f4cc0b1408555889ecea880ffac9.zip
external_llvm-3015dfb7d739f4cc0b1408555889ecea880ffac9.tar.gz
external_llvm-3015dfb7d739f4cc0b1408555889ecea880ffac9.tar.bz2
Teach the MC and disassembler about SoftFail, and hook it up to UNPREDICTABLE on ARM. Wire this to tBLX in order to provide test coverage.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@150169 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test')
-rw-r--r--test/MC/Disassembler/ARM/unpredictables-thumb.txt5
1 files changed, 5 insertions, 0 deletions
diff --git a/test/MC/Disassembler/ARM/unpredictables-thumb.txt b/test/MC/Disassembler/ARM/unpredictables-thumb.txt
new file mode 100644
index 0000000..e7645f0
--- /dev/null
+++ b/test/MC/Disassembler/ARM/unpredictables-thumb.txt
@@ -0,0 +1,5 @@
+# RUN: llvm-mc --disassemble %s -triple=thumbv7 |& FileCheck %s
+
+0x01 0x47
+# CHECK: 3:1: warning: potentially undefined
+# CHECK: bx r0