[all-commits] [llvm/llvm-project] ceaf57: [AMDGPU] Add BFX Formation Combines to RegBankComb...

Pierre van Houtryve via All-commits all-commits at lists.llvm.org
Wed Jul 16 01:00:30 PDT 2025


  Branch: refs/heads/users/pierre-vh/rbcomb-bfx
  Home:   https://github.com/llvm/llvm-project
  Commit: ceaf57d6da79058dd0ec5676bb3bdff106432208
      https://github.com/llvm/llvm-project/commit/ceaf57d6da79058dd0ec5676bb3bdff106432208
  Author: pvanhout <pierre.vanhoutryve at amd.com>
  Date:   2025-07-16 (Wed, 16 Jul 2025)

  Changed paths:
    M llvm/lib/CodeGen/GlobalISel/CombinerHelper.cpp
    M llvm/lib/Target/AMDGPU/AMDGPUCombine.td
    M llvm/test/CodeGen/AMDGPU/GlobalISel/ashr.ll
    M llvm/test/CodeGen/AMDGPU/GlobalISel/fshl.ll
    M llvm/test/CodeGen/AMDGPU/GlobalISel/fshr.ll
    M llvm/test/CodeGen/AMDGPU/GlobalISel/llvm.abs.ll
    M llvm/test/CodeGen/AMDGPU/GlobalISel/saddsat.ll
    M llvm/test/CodeGen/AMDGPU/GlobalISel/ssubsat.ll
    M llvm/test/CodeGen/AMDGPU/v_sat_pk_u8_i16.ll

  Log Message:
  -----------
  [AMDGPU] Add BFX Formation Combines to RegBankCombiner

They're relatively safe to use there I believe. The only new registers
they may create are the constants for the BFX. For those, borrow the
RC from the source register.

Fixes #140040



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