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 [X86][SSE][CostModel] Added full set of sitofp/uitofp costings for SSE2/AVX/AVX2/AVX512F. 2015-06-20 14:58:01 +00:00
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 AsmPrinter: Don't emit empty .debug_loc entries 2015-06-21 16:54:56 +00:00
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 Use correct escaping for semicolon on Windows. 2015-06-20 01:28:20 +00:00
Linker Linker: Do not expect comdat to exist in source module. 2015-06-22 21:46:51 +00:00
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