llvm/test/MC/SystemZ
Ulrich Weigand 19e305e8e7 [SystemZ] Correctly diagnose missing features in AsmParser
Currently, when using an instruction that is not supported on the
currently selected architecture, the LLVM assembler is likely to
diagnose an "invalid operand" instead of a "missing feature".

This is because many operands require a custom parser in order to
be processed correctly, and if an instruction is not available
according to the current feature set, the generated parser code
will also not detect the associated custom operand parsers.

Fixed by temporarily enabling all features while parsing operands.
The missing features will then be correctly detected when actually
parsing the instruction itself.



git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@285575 91177308-0d34-0410-b5e6-96231b3b80d8
2016-10-31 14:25:05 +00:00
..
directive-insn.s [SystemZ] Add support for the .insn directive 2016-08-08 15:13:08 +00:00
fixups.s [SystemZ] Sort relocs to avoid code corruption by linker optimization 2015-12-16 18:12:40 +00:00
insn-bad-z13.s [SystemZ] Add missing vector instructions for the assembler 2016-10-19 13:03:18 +00:00
insn-bad-z196.s [SystemZ] Correctly diagnose missing features in AsmParser 2016-10-31 14:25:05 +00:00
insn-bad-zEC12.s [SystemZ] Correctly diagnose missing features in AsmParser 2016-10-31 14:25:05 +00:00
insn-bad.s [SystemZ] Correctly diagnose missing features in AsmParser 2016-10-31 14:25:05 +00:00
insn-good-z13.s [SystemZ] Add missing vector instructions for the assembler 2016-10-19 13:03:18 +00:00
insn-good-z196.s [SystemZ] Add support for missing instructions 2016-07-08 16:18:40 +00:00
insn-good-zEC12.s [SystemZ] Support transactional execution on zEC12 2015-04-01 12:51:43 +00:00
insn-good.s [SystemZ] Fix encoding of MVCK and .insn ss 2016-10-31 14:21:36 +00:00
lit.local.cfg Re-enable UBSan tests for SystemZ: PR20980 was fixed. 2015-12-02 20:46:51 +00:00
regs-bad.s [SystemZ] Improve AsmParser handling of invalid instructions 2013-05-24 14:26:46 +00:00
regs-good.s [SystemZ] Consolidate assembler tests into 4 big tests 2013-05-15 09:58:19 +00:00
tokens.s [SystemZ] Fix encoding of MVCK and .insn ss 2016-10-31 14:21:36 +00:00
word.s [SystemZ] Add support for the .word directive. 2016-07-08 16:50:02 +00:00