1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-23 21:13:02 +02:00
llvm-mirror/test/MC/ARM/pool.s
Saleem Abdulrasool e75f7af412 ARM IAS: add support for the .pool directive
The .pool directive is an alias for the .ltorg directive used to create a
literal pool.  Simply treat .pool as if .ltorg was passed.

llvm-svn: 197787
2013-12-20 07:21:16 +00:00

19 lines
287 B
ArmAsm

@ RUN: llvm-mc -triple thumbv7-linux-gnueabi -o - %s | FileCheck %s
.syntax unified
.align 2
.global pool
.type pool,%function
pool:
ldr r0, =0xba5eba11
bx lr
.pool
@ CHECK-LABEL: pool
@ CHECK: ldr r0, .Ltmp0
@ CHECK: .align 2
@ CHECK-LABEL: .Ltmp0:
@ CHECK: .long 3126770193