[all-commits] [llvm/llvm-project] 597912: [AMDGPU][GlobalISel] Allow forming s16 U/SBFX pre-...

Pierre van Houtryve via All-commits all-commits at lists.llvm.org
Wed May 7 01:24:13 PDT 2025


  Branch: refs/heads/users/pierre-vh/bfx-on-s16
  Home:   https://github.com/llvm/llvm-project
  Commit: 597912a13d6b585ca7e963fedde59c7f5bc16a7d
      https://github.com/llvm/llvm-project/commit/597912a13d6b585ca7e963fedde59c7f5bc16a7d
  Author: pvanhout <pierre.vanhoutryve at amd.com>
  Date:   2025-05-07 (Wed, 07 May 2025)

  Changed paths:
    M llvm/lib/Target/AMDGPU/AMDGPULegalizerInfo.cpp
    M llvm/lib/Target/AMDGPU/AMDGPURegisterBankInfo.cpp
    M llvm/test/CodeGen/AMDGPU/GlobalISel/fshl.ll
    M llvm/test/CodeGen/AMDGPU/GlobalISel/fshr.ll
    M llvm/test/CodeGen/AMDGPU/GlobalISel/legalize-sbfx.mir
    M llvm/test/CodeGen/AMDGPU/GlobalISel/legalize-ubfx.mir
    M llvm/test/CodeGen/AMDGPU/GlobalISel/lshr.ll

  Log Message:
  -----------
  [AMDGPU][GlobalISel] Allow forming s16 U/SBFX pre-regbankselect

Make s16 G_U/SBFX legal and widen them in RegBankSelect.
This allows the set of BFX formation combines to work on s16 types.



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