[PATCH] D119480: [AMDGPU] Improve clobbering checks in the kernel argument promotion

Valery Pykhtin via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Feb 10 14:35:13 PST 2022


vpykhtin added inline comments.


================
Comment at: llvm/lib/Target/AMDGPU/Utils/AMDGPUMemoryUtils.cpp:28
+  Instruction *DefInst = Def->getMemoryInst();
+  LLVM_DEBUG(dbgs() << "  Def: " << *DefInst << '\n');
+
----------------
Nit: move the debug output back to isClobberedInFunction


CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D119480/new/

https://reviews.llvm.org/D119480



More information about the llvm-commits mailing list