1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-23 11:13:28 +01:00
llvm-mirror/test/MC/Hexagon/iconst.s
Krzysztof Parzyszek 9ee6d2961d [Hexagon] Change iconst to emit 27bit relocation
Patch by Colin LeMahieu.

llvm-svn: 301956
2017-05-02 18:19:11 +00:00

7 lines
153 B
ArmAsm

# RUN: llvm-mc -triple=hexagon -filetype=obj %s | llvm-objdump -d -r - | FileCheck %s
a:
# CHECK: r0 = add(r0,#0)
# CHECK: R_HEX_27_REG
r0 = iconst(#a)