summaryrefslogtreecommitdiffstats
path: root/llvm/test/MC/Mips/macro-aliases-invalid-wrong-error.s
Commit message (Collapse)AuthorAgeFilesLines
* [mips] Use llvm-mc -triple option instead of combination of ↵Simon Atanasyan2018-12-121-2/+2
| | | | | | arch,target-abi,mcpu. NFC llvm-svn: 348914
* [mips] Partially fix PR34391Simon Dardis2017-10-101-0/+38
Previously, the parsing of the 'subu $reg, ($reg,) imm' relied on a parser which also rendered the operand to the instruction. In some cases the general parser could construct an MCExpr which was not a MCConstantExpr which MipsAsmParser was expecting. Address this by altering the special handling to cope with unexpected inputs and fine-tune the handling of cases where an register name that is not available in the current ABI is regarded as not a match for the custom parser but also not as an outright error. Also enforces the binutils restriction that only constants are accepted. This partially resolves PR34391. Thanks to Ed Maste for reporting the issue! Reviewers: nitesh.jain, arichardson Differential Revision: https://reviews.llvm.org/D37476 llvm-svn: 315310
OpenPOWER on IntegriCloud