[PATCH] D45341: [DebugInfo] Convert intrinsic llvm.dbg.label to MachineInstr.

Hsiangkai Wang via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Apr 26 23:10:49 PDT 2018


HsiangKai added inline comments.


================
Comment at: lib/CodeGen/SelectionDAG/ScheduleDAGSDNodes.cpp:931
+            // Insert to start of the BB (after PHIs).
+            BB->insert(BBBegin, DbgMI);
+          else {
----------------
HsiangKai wrote:
> aprantl wrote:
> > Do you have test coverage for both paths?
> I will try to create test cases for both paths.
Add test case 'test/DebugInfo/Generic/debug-label-opt.ll' for both paths.


Repository:
  rL LLVM

https://reviews.llvm.org/D45341





More information about the llvm-commits mailing list