[PATCH] D158866: [StatepointLowering] Fix possible nullptr access in debug output

Danila Malyutin via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Aug 25 13:06:48 PDT 2023


danilaml added inline comments.


================
Comment at: llvm/lib/CodeGen/SelectionDAG/StatepointLowering.cpp:1160
 
+  LLVM_DEBUG(dbgs() << "Lowering call with deopt bundle " << *Call << "\n");
   if (SDValue ReturnVal = LowerAsSTATEPOINT(SI)) {
----------------
anna wrote:
> Need this?
This is intentional, since the "fixed" debug print won't execute for this code path, so this helps trace optimization steps.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D158866



More information about the llvm-commits mailing list