[all-commits] [llvm/llvm-project] 5cb417: [SystemZ] Introduce distinction between the jg/jl ...

Kai Nacke via All-commits all-commits at lists.llvm.org
Mon Mar 1 13:37:07 PST 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 5cb417527cbca62bbee93504deb2f1e7a357e6ec
      https://github.com/llvm/llvm-project/commit/5cb417527cbca62bbee93504deb2f1e7a357e6ec
  Author: Anirudh Prasad <Anirudh.Prasad at ibm.com>
  Date:   2021-03-01 (Mon, 01 Mar 2021)

  Changed paths:
    M llvm/lib/Target/SystemZ/SystemZInstrFormats.td
    M llvm/lib/Target/SystemZ/SystemZInstrInfo.td
    M llvm/test/MC/SystemZ/insn-bad.s

  Log Message:
  -----------
  [SystemZ] Introduce distinction between the jg/jl family of mnemonics for GNU as vs HLASM

- This patch adds in the distinction between jg[*] and jl[*] pc-relative
  mnemonics based on the variant/dialect.
- Under the hlasm variant, we use the jl[*] family of mnemonics and under
  the att (GNU as) variant, we use the jg[*] family of mnemonics.
- jgnop which was added in https://reviews.llvm.org/D92185, is now restricted
  to att variant. jlnop is introduced and restricted to hlasm variant.
- The br[*]l additional mnemonics are mapped to either jl[*]/jg[*] based on
  the variant.

Reviewed By: uweigand

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




More information about the All-commits mailing list