[all-commits] [llvm/llvm-project] 472440: AMDGPU: Implement getConstValDefinedInReg and use ...

Matt Arsenault via All-commits all-commits at lists.llvm.org
Mon Feb 17 20:19:20 PST 2025


  Branch: refs/heads/users/arsenm/amdgpu/implement-getConstValDefinedInReg
  Home:   https://github.com/llvm/llvm-project
  Commit: 47244067f25c501cf355b983b024f352ed32d880
      https://github.com/llvm/llvm-project/commit/47244067f25c501cf355b983b024f352ed32d880
  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: Implement getConstValDefinedInReg and use in foldImmediate (NFC)

This is NFC because it currently only matters for cases that are not
isMoveImmediate, and we do not yet implement any of those. This just
moves the implementation of foldImmediate to use the common  interface,
similar to how x86 does it.



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