[PATCH] D125567: [AMDGPU] Shrink MAD/FMA to MADAK/MADMK/FMAAK/FMAMK on GFX10

Jay Foad via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon May 16 02:14:03 PDT 2022


foad marked 6 inline comments as done.
foad added inline comments.


================
Comment at: llvm/lib/Target/AMDGPU/SIShrinkInstructions.cpp:348
+      Swap = true;
+    } else if (Src0.isReg() && TRI->isVGPR(*MRI, Src0.getReg())) {
+    } else {
----------------
rampitec wrote:
> A leftover?
No, it was intentional, but I agree it looked a bit strange. I have changed it.


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