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

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


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 58b4fd273de4e8fae61df6d4ac87258a1aba8379
      https://github.com/llvm/llvm-project/commit/58b4fd273de4e8fae61df6d4ac87258a1aba8379
  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 (#132384)

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