[all-commits] [llvm/llvm-project] 2a8306: [PowerPC] Enable using HwMode for instructions (#1...

Kai Nacke via All-commits all-commits at lists.llvm.org
Mon Apr 27 09:16:15 PDT 2026


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 2a83068537786696d4950ce694e7d34480631f48
      https://github.com/llvm/llvm-project/commit/2a83068537786696d4950ce694e7d34480631f48
  Author: Kai Nacke <kai.peter.nacke at ibm.com>
  Date:   2026-04-27 (Mon, 27 Apr 2026)

  Changed paths:
    M llvm/lib/Target/PowerPC/P10InstrResources.td
    M llvm/lib/Target/PowerPC/PPCBack2BackFusion.def
    M llvm/lib/Target/PowerPC/PPCInstr64Bit.td
    M llvm/lib/Target/PowerPC/PPCInstrInfo.td
    M llvm/lib/Target/PowerPC/PPCMacroFusion.def
    M llvm/lib/Target/PowerPC/PPCRegisterClasses.td
    M llvm/lib/Target/PowerPC/PPCRegisterInfo.td
    M llvm/lib/Target/PowerPC/PPCScheduleP7.td

  Log Message:
  -----------
  [PowerPC] Enable using HwMode for instructions (#191051)

The HwMode is already used for operands representing an effective
address. It can also be used for general purpose registers but this is
not clear from the naming. This change

- introduces the hw-mode dependent register class `GxRC`, and the
associated register operands
- removes register class `ptr_rc_idx_by_hwmode`, and replaces the only
use with `gxrc`
 - uses the `EQV` instruction as an example how to use the new class



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list