mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-12-02 16:36:40 +00:00
67e1ff026d
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
9 lines
203 B
ArmAsm
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:
|