[PATCH] D107823: [DebugInfo][InstrRef] Honour too-much-debug-info cut-outs in InstrRefBasedLDV

Djordje Todorovic via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Aug 10 06:51:46 PDT 2021


djtodoro accepted this revision.
djtodoro added a comment.
This revision is now accepted and ready to land.

This lgtm.



================
Comment at: llvm/lib/CodeGen/LiveDebugValues/InstrRefBasedImpl.cpp:3656
+  // however we should cut our losses.
+  if (MaxNumBlocks > InputBBLimit && VarAssignCount > InputDbgValLimit)
+    return false;
----------------
I vote for adding an DBG output here as for the VarLocBasedLDV

    LLVM_DEBUG(dbgs() << "Disabling...


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D107823



More information about the llvm-commits mailing list