[all-commits] [llvm/llvm-project] ea6054: [AMDGPU] Create new instructions in SIInstrInfo::m...

Jay Foad via All-commits all-commits at lists.llvm.org
Fri Nov 4 00:21:29 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: ea60545b0e55a3ab0e34637af14278279ab65bfb
      https://github.com/llvm/llvm-project/commit/ea60545b0e55a3ab0e34637af14278279ab65bfb
  Author: Jay Foad <jay.foad at amd.com>
  Date:   2022-11-04 (Fri, 04 Nov 2022)

  Changed paths:
    M llvm/lib/Target/AMDGPU/SIInstrInfo.cpp
    M llvm/lib/Target/AMDGPU/SIInstrInfo.h
    M llvm/test/CodeGen/AMDGPU/llvm.amdgcn.softwqm.ll
    M llvm/test/CodeGen/AMDGPU/wqm.ll

  Log Message:
  -----------
  [AMDGPU] Create new instructions in SIInstrInfo::moveToVALU

Create new VALU instructions in moveToVALU instead of mutating the
existing SALU instruction. This makes it easier to add extra operands so
we can convert to the VOP3 form of VALU instructions.

NFCI but it does have the minor side effect of removing duplicate
implicit operands that were present on the original SALU if they are
default implicit operands for the VALU.

Differential Revision: https://reviews.llvm.org/D137324




More information about the All-commits mailing list