[all-commits] [llvm/llvm-project] e73bff: [AMDGPU] New RegBankSelect: Handle all 32/64 bit p...

Pierre van Houtryve via All-commits all-commits at lists.llvm.org
Thu Jun 19 00:56:29 PDT 2025


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

  Changed paths:
    M llvm/lib/Target/AMDGPU/AMDGPURegBankLegalizeRules.cpp
    M llvm/test/CodeGen/AMDGPU/GlobalISel/regbankselect-select.mir

  Log Message:
  -----------
  [AMDGPU] New RegBankSelect: Handle all 32/64 bit pointer types for B32/B64 rule (#142560)

The previous system explicitly enumerated the types. P0 was missing and thus we couldn't handle a select of P0s for example.
Generalize the logic to simply check the width of the pointer for 32/64 bit pointers, this should handle all common address spaces



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