[PATCH] D127659: [AMDGPU] Fix GFX11 codegen for V_MAD_U64_U32 and V_MAD_I64_I32

Jay Foad via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Jun 13 08:41:14 PDT 2022


foad created this revision.
foad added reviewers: Joe_Nash, rampitec, arsenm, piotr, nhaehnle.
Herald added subscribers: kosarev, jsilvanus, hsmhsm, kerbowa, hiraditya, t-tye, tpr, dstuttard, yaxunl, jvesely, kzhuravl.
Herald added a project: All.
foad requested review of this revision.
Herald added subscribers: llvm-commits, wdng.
Herald added a project: LLVM.

GFX11 uses different pseudos for these because of a new constraint
on which operands' registers can overlap.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D127659

Files:
  llvm/lib/Target/AMDGPU/AMDGPUISelDAGToDAG.cpp
  llvm/lib/Target/AMDGPU/AMDGPUInstructionSelector.cpp
  llvm/test/CodeGen/AMDGPU/GlobalISel/inst-select-mad_64_32.mir
  llvm/test/CodeGen/AMDGPU/llvm.mulo.ll
  llvm/test/CodeGen/AMDGPU/mad_64_32.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D127659.436421.patch
Type: text/x-patch
Size: 30730 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20220613/6062114a/attachment.bin>


More information about the llvm-commits mailing list