[PATCH] D58453: [DebugInfo][CGP] Limit placeDbgValues movement of dbg.value intrinsics

Adrian Prantl via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Feb 21 08:25:19 PST 2019


aprantl added inline comments.


================
Comment at: lib/CodeGen/CodeGenPrepare.cpp:6937
       Instruction *VI = dyn_cast_or_null<Instruction>(DVI->getValue());
+      if (VI && DT.dominates(VI, DVI))
+        continue;
----------------
Please add a comment that explains why


Repository:
  rL LLVM

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

https://reviews.llvm.org/D58453





More information about the llvm-commits mailing list