llvm-6502/test
Toma Tabacu e39f000353 [mips] [IAS] Fix parsing of memory offset expressions with parenthesis depth >1.
Summary:
In an expression such as "(((a+b)+c)+d)", parseParenExpression() would only parse the "a+b)+c", which would result in an error later on in the parser.
This means that we can only parse one level of inner parentheses.

In order to fix this, I added a new function called parseParenExprOfDepth(), which parses a specified number of trailing parenthesis expressions
(except for the outermost parenthesis), and changed MipsAsmParser to use it in parseMemOffset instead of parseParenExpression().

Reviewers: dsanders, rafael

Reviewed By: dsanders, rafael

Subscribers: llvm-commits

Differential Revision: http://reviews.llvm.org/D9742

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@240625 91177308-0d34-0410-b5e6-96231b3b80d8
2015-06-25 09:52:02 +00:00
..
Analysis
Assembler
Bindings test: Move target dependent test in their own folder for c API test 2015-06-23 06:46:54 +00:00
Bitcode
BugPoint
CodeGen [X86] Accept hasAVX512() as well as hasFMA() when generating FMA. 2015-06-25 00:44:46 +00:00
DebugInfo
ExecutionEngine
Feature
FileCheck
Instrumentation Let llvm::ReplaceInstWithInst copy debug location from old to new instruction. 2015-06-23 21:00:08 +00:00
Integer
JitListener
LibDriver
Linker
LTO
MC [mips] [IAS] Fix parsing of memory offset expressions with parenthesis depth >1. 2015-06-25 09:52:02 +00:00
Object Object: Add XFAILed test case for r239560. 2015-06-24 18:03:39 +00:00
Other
SymbolRewriter
TableGen
tools Pass -m to the linker in this test. 2015-06-23 18:04:54 +00:00
Transforms [GVN] Intersect the IR flags when CSE'ing two instructions 2015-06-24 21:52:25 +00:00
Unit
Verifier
YAMLParser
.clang-format
CMakeLists.txt
lit.cfg
lit.site.cfg.in
Makefile
Makefile.tests
TestRunner.sh