mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-23 19:23:23 +01:00
bf98d3bde3
Summary: Integrated assembler does not accept offset expressions surrounded by parenthesis. Handle this case for GAS compability. https://bugs.llvm.org/show_bug.cgi?id=43631 Subscribers: kristof.beyls, hiraditya, llvm-commits Tags: #llvm Differential Revision: https://reviews.llvm.org/D68764 llvm-svn: 374832
21 lines
387 B
ArmAsm
21 lines
387 B
ArmAsm
@ RUN: llvm-mc -triple=arm-linux-gnueabi < %s | FileCheck %s
|
|
|
|
@ CHECK: ldr r12, [sp, #15]
|
|
ldr r12, [sp, (15)]
|
|
|
|
@ CHECK: ldr r12, [sp, #15]
|
|
ldr r12, [sp, #(15)]
|
|
|
|
@ CHECK: ldr r12, [sp, #15]
|
|
ldr r12, [sp, $(15)]
|
|
|
|
@ CHECK: ldr r12, [sp, #100]
|
|
ldr r12, [sp, (((15+5)*5))]
|
|
|
|
@ CHECK: ldr r12, [sp, #100]
|
|
ldr r12, [sp, #(((15+5)*5))]
|
|
|
|
|
|
@ CHECK: ldr r12, [sp, #100]
|
|
ldr r12, [sp, $(((15+5)*5))]
|