repo.or.cz
/
llvm-complete.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
[llvm-readobj] - Simplify stack-sizes.test test case.
[llvm-complete.git]
/
test
/
MC
/
ARM
/
AlignedBundling
/
illegal-subtarget-change.s
blob
34d88918a34916e2dd75070e8f9acb0b110ee2d7
1
# RUN: not llvm-mc -filetype=obj -triple armv7-linux-gnueabi %s -o - 2>&1 | FileCheck %s
2
3
# We cannot switch subtargets mid-bundle
4
.syntax unified
5
.text
6
.bundle_align_mode 4
7
.arch armv4t
8
bx
lr
9
.bundle_lock
10
bx
lr
11
.arch armv7a
12
movt
r0
,
#0xffff
13
movw
r0
,
#0xffff
14
.bundle_unlock
15
bx
lr
16
# CHECK: LLVM ERROR: A Bundle can only have one Subtarget.