[all-commits] [llvm/llvm-project] 68528d: AMDGPU/GlobalISel: add RegBankLegalize rules for s...

Petar Avramovic via All-commits all-commits at lists.llvm.org
Mon May 26 03:11:27 PDT 2025


  Branch: refs/heads/users/petar-avramovic/select
  Home:   https://github.com/llvm/llvm-project
  Commit: 68528d522aa6cae03617bae63105462ebf428e95
      https://github.com/llvm/llvm-project/commit/68528d522aa6cae03617bae63105462ebf428e95
  Author: Petar Avramovic <Petar.Avramovic at amd.com>
  Date:   2025-05-26 (Mon, 26 May 2025)

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

  Log Message:
  -----------
  AMDGPU/GlobalISel: add RegBankLegalize rules for select

Uniform condition S1 is AnyExtended to S32 and high bits are
cleaned using AND with 1. Divergent S1 uses VCC.
Using B32/B64 rules to cover scalars vector and pointer types.
Divergent B64 is split to S32.



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