[llvm] [NFC][AMDGPU] Add some debug prints to SIMemoryLegalizer (PR #190658)

Matt Arsenault via llvm-commits llvm-commits at lists.llvm.org
Mon Apr 6 12:37:01 PDT 2026


================
@@ -2463,6 +2532,9 @@ SIMemoryLegalizerPass::run(MachineFunction &MF,
 bool SIMemoryLegalizer::run(MachineFunction &MF) {
   bool Changed = false;
 
+  LLVM_DEBUG(dbgs() << PASS_NAME << ": processing function " << MF.getName()
----------------
arsenm wrote:

Should leave printing pass and function to the pass manager 

https://github.com/llvm/llvm-project/pull/190658


More information about the llvm-commits mailing list