[ARM][AsmParser] handles offset expression in parentheses
authorJian Cai <caij2003@gmail.com>
Mon, 14 Oct 2019 22:22:26 +0000 (22:22 +0000)
committerJian Cai <caij2003@gmail.com>
Mon, 14 Oct 2019 22:22:26 +0000 (22:22 +0000)
commite9089c223cea1c7e0cfdd0b2a4f48bf7ea1b40f2
tree3acd6de2897db08ba79a1566c8abb7e0eb94de8b
parentbe744ea54f413a11a1a3fd7d050dcc41726def77
[ARM][AsmParser] handles offset expression in parentheses

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
llvm/lib/Target/ARM/AsmParser/ARMAsmParser.cpp
llvm/test/MC/ARM/gas-compl-mem-offset-paren.s [new file with mode: 0644]