[PATCH] D137324: [AMDGPU] Create new instructions in SIInstrInfo::moveToVALU
Jay Foad via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Thu Nov 3 03:47:55 PDT 2022
foad created this revision.
foad added reviewers: AMDGPU, rampitec, alex-t.
Herald added subscribers: kosarev, kerbowa, hiraditya, tpr, dstuttard, yaxunl, jvesely, kzhuravl, arsenm.
Herald added a project: All.
foad requested review of this revision.
Herald added subscribers: llvm-commits, wdng.
Herald added a project: LLVM.
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 not duplicating implicit
operands that are default for the VALU but were also present on the
original SALU.
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D137324
Files:
llvm/lib/Target/AMDGPU/SIInstrInfo.cpp
llvm/lib/Target/AMDGPU/SIInstrInfo.h
llvm/test/CodeGen/AMDGPU/llvm.amdgcn.softwqm.ll
llvm/test/CodeGen/AMDGPU/wqm.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D137324.472890.patch
Type: text/x-patch
Size: 17743 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20221103/eb7f460f/attachment.bin>
More information about the llvm-commits
mailing list