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

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


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 83d7f4b8c38147dbb57a40b385e70908ebbbb554
      https://github.com/llvm/llvm-project/commit/83d7f4b8c38147dbb57a40b385e70908ebbbb554
  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) (#127482)

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