[all-commits] [llvm/llvm-project] be496f: AMDGPU: Extract lambda used in foldImmediate into ...

Matt Arsenault via All-commits all-commits at lists.llvm.org
Tue Feb 18 02:13:58 PST 2025


  Branch: refs/heads/users/arsenm/amdgpu/add-extractSubregFromImm-helper
  Home:   https://github.com/llvm/llvm-project
  Commit: be496fbbaf208c877a119fc754e10479e3a1fb0a
      https://github.com/llvm/llvm-project/commit/be496fbbaf208c877a119fc754e10479e3a1fb0a
  Author: Matt Arsenault <Matthew.Arsenault at amd.com>
  Date:   2025-02-18 (Tue, 18 Feb 2025)

  Changed paths:
    M llvm/lib/Target/AMDGPU/SIInstrInfo.cpp
    M llvm/lib/Target/AMDGPU/SIInstrInfo.h

  Log Message:
  -----------
  AMDGPU: Extract lambda used in foldImmediate into a helper function

It was also too permissive for a more general utilty, only return
the original immediate if there is no subregister.


  Commit: d58106e8f02f91839f9983b9cc2b986a7011ee33
      https://github.com/llvm/llvm-project/commit/d58106e8f02f91839f9983b9cc2b986a7011ee33
  Author: Matt Arsenault <Matthew.Arsenault at amd.com>
  Date:   2025-02-18 (Tue, 18 Feb 2025)

  Changed paths:
    M llvm/lib/Target/AMDGPU/SIInstrInfo.h

  Log Message:
  -----------
  Update llvm/lib/Target/AMDGPU/SIInstrInfo.h

Co-authored-by: Shilei Tian <i at tianshilei.me>


Compare: https://github.com/llvm/llvm-project/compare/5d9454b3c5cf...d58106e8f02f

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