[all-commits] [llvm/llvm-project] 047bf1: [AMDGPU] Add more verbose logs to PromoteAlloca
Pierre van Houtryve via All-commits
all-commits at lists.llvm.org
Wed Apr 19 02:30:29 PDT 2023
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 047bf17eab37b68d3ed894fddf33704175164d20
https://github.com/llvm/llvm-project/commit/047bf17eab37b68d3ed894fddf33704175164d20
Author: pvanhout <pierre.vanhoutryve at amd.com>
Date: 2023-04-19 (Wed, 19 Apr 2023)
Changed paths:
M llvm/lib/Target/AMDGPU/AMDGPUPromoteAlloca.cpp
Log Message:
-----------
[AMDGPU] Add more verbose logs to PromoteAlloca
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.
Reviewed By: arsenm, rampitec
Differential Revision: https://reviews.llvm.org/D148629
More information about the All-commits
mailing list