1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-23 13:02:52 +02:00
llvm-mirror/test/MC/ARM/thumb-cb-thumbfunc.s
Tim Northover 67e1ff026d ARM: don't diagnose cbz/cbnz to Thumb functions.
A branch-distance to a Thumb function shouldn't be forced to be odd for
CBZ/CBNZ instructions because (assuming it's within range), it's going to be a
valid, even offset.

llvm-svn: 279665
2016-08-24 21:21:29 +00:00

9 lines
203 B
ArmAsm

@ RUN: llvm-mc -triple thumbv7-apple-macho -filetype=obj -o %t %s
@ RUN: llvm-objdump -d -triple thumbv7 %t | FileCheck %s
@ CHECK: cbnz r0, #0
.thumb_func label4
cbnz r0, label4
.space 2
label4: