[PATCH] D112395: [AMDGPU] Enable 48-bit mul in AMDGPUCodeGenPrepare.

Abinav Puthan Purayil via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Sun Oct 24 20:19:05 PDT 2021


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

We were bailing out of creating 24-bit muls for results wider than 32
bits in AMDGPUCodeGenPrepare. With the 24-bit mulhi intrinsic, this
change teaches AMDGPUCodeGenPrepare to generate the 48-bit mul
correctly.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D112395

Files:
  llvm/lib/Target/AMDGPU/AMDGPUCodeGenPrepare.cpp
  llvm/test/CodeGen/AMDGPU/amdgpu-codegenprepare-mul24.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D112395.381825.patch
Type: text/x-patch
Size: 37821 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20211025/fc5d7769/attachment-0001.bin>


More information about the llvm-commits mailing list