1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-23 19:23:23 +01:00
llvm-mirror/test/MC/ARM/fixup-cpu-mode.s
David Woodhouse 69762f7e1e Tests for mode switching
1. test that inlineasm works
2. test that relaxable instructions are re-encoded in the correct mode.

llvm-svn: 200351
2014-01-28 23:13:30 +00:00

10 lines
199 B
ArmAsm

// RUN: llvm-mc -filetype=obj -triple thumbv7-linux-gnu %s -o %t
// RUN: llvm-objdump -triple thumbv7-linux-gnu -d %t | FileCheck %s
//PR18303
.code 16
.global edata
b edata // CHECK: b.w
.code 32