[PATCH] D144612: [AMDGPU] Move V_FMA_MIX pattern matching into tablegen. NFC
Justin Bogner via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed Feb 22 17:52:35 PST 2023
bogner created this revision.
bogner added reviewers: arsenm, foad.
Herald added subscribers: kosarev, StephenFan, kerbowa, hiraditya, tpr, dstuttard, yaxunl, jvesely, kzhuravl, mcrosier.
Herald added a project: All.
bogner requested review of this revision.
Herald added subscribers: llvm-commits, wdng.
Herald added a project: LLVM.
The matching for V_FMA_MIX was partially implemented with a C++
matcher (for fmas with 32 bit results and 16 bit inputs) and partially
in tablegen (for fmas with 16 bit results). Move the C++ matcher logic
into tablegen to make this more consistent and so we can remove the
duplication between SDAG and GISel.
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D144612
Files:
llvm/lib/Target/AMDGPU/AMDGPUGISel.td
llvm/lib/Target/AMDGPU/AMDGPUISelDAGToDAG.cpp
llvm/lib/Target/AMDGPU/AMDGPUISelDAGToDAG.h
llvm/lib/Target/AMDGPU/AMDGPUInstructionSelector.cpp
llvm/lib/Target/AMDGPU/AMDGPUInstructionSelector.h
llvm/lib/Target/AMDGPU/SIInstrInfo.td
llvm/lib/Target/AMDGPU/VOP3PInstructions.td
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D144612.499701.patch
Type: text/x-patch
Size: 11671 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20230223/144d4b36/attachment.bin>
More information about the llvm-commits
mailing list