mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-22 18:54:02 +01:00
e5f983fb48
r223113 added support for ARM modified immediate assembly syntax. Which assumes all immediate operands are prefixed with a '#'. This assumption is wrong as per the ARMARM - which recommends that all '#' characters be treated optional. The current patch fixes this regression and adds a test case. A follow-up patch will expand the test coverage to other instructions. llvm-svn: 223381
11 lines
268 B
ArmAsm
11 lines
268 B
ArmAsm
@RUN: not llvm-mc -triple=armv7-unknown-linux-gnueabi < %s 2>&1 | FileCheck %s
|
|
@RUN: not llvm-mc -triple=armv7-apple-darwin < %s 2>&1 | FileCheck %s
|
|
|
|
.text
|
|
bar:
|
|
mov r0, =0x101
|
|
@ CHECK: error: unknown token in expression
|
|
@ CHECK: mov r0, =0x101
|
|
@ CHECK: ^
|
|
|