[all-commits] [llvm/llvm-project] 3ed6a6: [SystemZ][z/OS] Enforce prefix-less registers in S...

Anirudh Prasad via All-commits all-commits at lists.llvm.org
Mon May 3 08:45:09 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 3ed6a6f6cdea9777d0e0175e22cea04e2c0c6d43
      https://github.com/llvm/llvm-project/commit/3ed6a6f6cdea9777d0e0175e22cea04e2c0c6d43
  Author: Anirudh Prasad <anirudh_prasad at hotmail.com>
  Date:   2021-05-03 (Mon, 03 May 2021)

  Changed paths:
    M llvm/lib/Target/SystemZ/AsmParser/SystemZAsmParser.cpp

  Log Message:
  -----------
  [SystemZ][z/OS] Enforce prefix-less registers in SystemZAsmParser for the HLASM dialect.

- Previously, https://reviews.llvm.org/D101308 removed prefixes from register while printing them out. This was especially needed for inline asm statements which used input/output operands.
- However, the backend SystemZAsmParser, accepts both prefixed registers and prefix-less registers as part of its implementation
- This patch aims to change that by ensuring that prefixed registers are only allowed for the ATT dialect.

Reviewed By: uweigand

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




More information about the All-commits mailing list