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
This commit is contained in:
James Molloy
2012-02-09 10:56:31 +00:00
parent f41ab77847
commit 3015dfb7d7
4 changed files with 90 additions and 2 deletions

View File

@@ -0,0 +1,5 @@
# RUN: llvm-mc --disassemble %s -triple=thumbv7 |& FileCheck %s
0x01 0x47
# CHECK: 3:1: warning: potentially undefined
# CHECK: bx r0