[PATCH] D133305: [AMDGPU] Simplify mad/mac patterns. NFC.
Matt Arsenault via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Fri Sep 9 06:57:24 PDT 2022
arsenm added inline comments.
================
Comment at: llvm/lib/Target/AMDGPU/SIInstructions.td:987
// better to select mad instead of mac.
-class FMADPat <ValueType vt, Instruction inst, SDPatternOperator node>
- : GCNPat <(vt (node (vt (VOP3NoMods vt:$src0)),
----------------
If we keep the node parameter, can we reuse this for v_fmac_*?
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D133305/new/
https://reviews.llvm.org/D133305
More information about the llvm-commits
mailing list