[all-commits] [llvm/llvm-project] 7ceea2: [AMDGPU] New RegBankSelect: Add Ptr32/Ptr64/Ptr128...

Pierre van Houtryve via All-commits all-commits at lists.llvm.org
Thu Jun 19 01:06:59 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 7ceea22a7adad5d21328839facbc6a6d0151e056
      https://github.com/llvm/llvm-project/commit/7ceea22a7adad5d21328839facbc6a6d0151e056
  Author: Pierre van Houtryve <pierre.vanhoutryve at amd.com>
  Date:   2025-06-19 (Thu, 19 Jun 2025)

  Changed paths:
    M llvm/lib/Target/AMDGPU/AMDGPURegBankLegalizeHelper.cpp
    M llvm/lib/Target/AMDGPU/AMDGPURegBankLegalizeRules.cpp
    M llvm/lib/Target/AMDGPU/AMDGPURegBankLegalizeRules.h

  Log Message:
  -----------
  [AMDGPU] New RegBankSelect: Add Ptr32/Ptr64/Ptr128 (#142602)

There's quite a few opcodes that do not care about the exact AS of the pointer, just its size.
Adding generic types for these will help reduce duplication in the rule definitions.

I also moved the usual B types to use the new `isAnyPtr` helper I added to make sure they're supersets of the `Ptr` cases



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