[all-commits] [llvm/llvm-project] 59e70e: AMDGPU/GlobalISel: RegBankLegalize rules for load

Petar Avramovic via All-commits all-commits at lists.llvm.org
Wed Nov 27 03:25:23 PST 2024


  Branch: refs/heads/users/petar-avramovic/new-rbs-rb-load-rules
  Home:   https://github.com/llvm/llvm-project
  Commit: 59e70ef3cb6b1e9183691782b5675a376add3fbd
      https://github.com/llvm/llvm-project/commit/59e70ef3cb6b1e9183691782b5675a376add3fbd
  Author: Petar Avramovic <Petar.Avramovic at amd.com>
  Date:   2024-11-27 (Wed, 27 Nov 2024)

  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-load.mir
    M llvm/test/CodeGen/AMDGPU/GlobalISel/regbankselect-zextload.mir

  Log Message:
  -----------
  AMDGPU/GlobalISel: RegBankLegalize rules for load

Add IDs for bit width that cover multiple LLTs: B32 B64 etc.
"Predicate" wrapper class for bool predicate functions used to
write pretty rules. Predicates can be combined using &&, || and !.
Lowering for splitting and widening loads.
Write rules for loads to not change existing mir tests from old
regbankselect.



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