1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-23 19:23:23 +01:00
llvm-mirror/test/MC/SystemZ
Ulrich Weigand 9ffa9369b0 [SystemZ] Allow %r0 in address context for AsmParser
Registers used in any address (as well as in a few other contexts)
have special semantics when a "zero" register is used, which is
why the back-end defines extra register classes ADDR32, ADDR64 etc
to be used to prevent the register allocator from using %r0 there.

However, when writing assembler code "by hand", you sometimes need
to trigger that special semantics.  However, currently the AsmParser
will reject %r0 in those places.  In some cases it may be possible
to write that instruction differently - but in others it is currently
not possible at all.

This check in AsmParser simply seems overly strict, so this patch
just removes the check completely.  This brings the behaviour of
AsmParser in line with the GNU assembler as well.

Bugzilla: https://bugs.llvm.org/show_bug.cgi?id=45092
2020-03-31 19:48:50 +02:00
..
asm-match.s
directive-insn.s [test] llvm/test/: change llvm-objdump single-dash long options to double-dash options 2020-03-15 17:46:23 -07:00
fixups-zEC12.s
fixups.s
insn-bad-z13.s [SystemZ] Allow %r0 in address context for AsmParser 2020-03-31 19:48:50 +02:00
insn-bad-z14.s [SystemZ] Allow %r0 in address context for AsmParser 2020-03-31 19:48:50 +02:00
insn-bad-z15.s [SystemZ] Support z15 processor name 2019-09-20 23:04:45 +00:00
insn-bad-z196.s [SystemZ] Allow %r0 in address context for AsmParser 2020-03-31 19:48:50 +02:00
insn-bad-zEC12.s [SystemZ] Allow %r0 in address context for AsmParser 2020-03-31 19:48:50 +02:00
insn-bad.s [SystemZ] Allow %r0 in address context for AsmParser 2020-03-31 19:48:50 +02:00
insn-good-z13.s [SystemZ] Support vector load/store alignment hints 2019-06-19 14:20:00 +00:00
insn-good-z14.s
insn-good-z15.s [SystemZ] Support z15 processor name 2019-09-20 23:04:45 +00:00
insn-good-z196.s
insn-good-zEC12.s
insn-good.s [SystemZ] Allow %r0 in address context for AsmParser 2020-03-31 19:48:50 +02:00
invalid-instructions-spellcheck.s
lit.local.cfg
regs-bad.s [SystemZ] Allow %r0 in address context for AsmParser 2020-03-31 19:48:50 +02:00
regs-good.s
tokens.s [SystemZ] Allow %r0 in address context for AsmParser 2020-03-31 19:48:50 +02:00
word.s