[PATCH] D148629: [AMDGPU] Add more verbose logs to PromoteAlloca

Pierre van Houtryve via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Apr 18 05:24:26 PDT 2023


Pierre-vh created this revision.
Pierre-vh added reviewers: arsenm, foad, rampitec.
Herald added subscribers: kosarev, StephenFan, kerbowa, hiraditya, tpr, dstuttard, yaxunl, jvesely, kzhuravl.
Herald added a project: All.
Pierre-vh requested review of this revision.
Herald added subscribers: llvm-commits, wdng.
Herald added a project: LLVM.

More specifically make it more talkative when it's looking at the users of
an alloca to promote it to a vector.

A common failure point of the pass is unknown or weird users of the alloca.
While debugging issues related to this pass one of the first thing I usually
did was to add logs to see how the users were being handled.
Having such logs in directly seems to be a nice addition.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D148629

Files:
  llvm/lib/Target/AMDGPU/AMDGPUPromoteAlloca.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D148629.514616.patch
Type: text/x-patch
Size: 4768 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20230418/31852bb8/attachment.bin>


More information about the llvm-commits mailing list