[all-commits] [llvm/llvm-project] cca857: [SystemZ] Allow specifying integer registers as pa...

Ulrich Weigand via All-commits all-commits at lists.llvm.org
Wed Jul 8 09:21:04 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: cca8578efab096fddcb0134b28b17f4758e9afa0
      https://github.com/llvm/llvm-project/commit/cca8578efab096fddcb0134b28b17f4758e9afa0
  Author: Ulrich Weigand <ulrich.weigand at de.ibm.com>
  Date:   2020-07-08 (Wed, 08 Jul 2020)

  Changed paths:
    M llvm/lib/Target/SystemZ/AsmParser/SystemZAsmParser.cpp
    M llvm/test/MC/SystemZ/insn-bad.s
    M llvm/test/MC/SystemZ/insn-good-z13.s
    M llvm/test/MC/SystemZ/insn-good-z14.s
    M llvm/test/MC/SystemZ/insn-good-z15.s
    M llvm/test/MC/SystemZ/insn-good.s
    M llvm/test/MC/SystemZ/regs-good.s
    M llvm/test/MC/SystemZ/tokens.s

  Log Message:
  -----------
  [SystemZ] Allow specifying integer registers as part of the address calculation

Revision e1de2773a534957305d7a559c6d88c4b5ac354e2 provided support for
accepting integer registers in inline asm i.e.

__asm("lhi %r0, 5") -> lhi %r0, 5
__asm("lhi 0, 5") -> lhi 0,5

This patch aims to extend this support to instructions which compute
addresses as well. (i.e instructions of type BDMem and BD[X|R|V|L]Mem)

Author: anirudhp

Differential Revision: https://reviews.llvm.org/D83251




More information about the All-commits mailing list