[PATCH] D125567: [AMDGPU] Shrink MAD/FMA to MADAK/MADMK/FMAAK/FMAMK on GFX10
Matt Arsenault via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Mon May 16 06:06:40 PDT 2022
arsenm added inline comments.
================
Comment at: llvm/lib/Target/AMDGPU/SIShrinkInstructions.cpp:394
+ MI.getOperand(0).getReg());
+ NewMI->addOperand(Src1);
+ NewMI->addOperand(Src0);
----------------
Can use .add on the usual BuildMI chain
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D125567/new/
https://reviews.llvm.org/D125567
More information about the llvm-commits
mailing list