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

Adrian Prantl via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Apr 11 10:00:36 PDT 2018


aprantl added inline comments.


================
Comment at: test/DebugInfo/Generic/debug-label-mi.ll:27
+  call void @llvm.dbg.label(metadata !18), !dbg !19
+  %0 = load i32, i32* %a.addr, align 4, !dbg !20
+  %1 = load i32, i32* %b.addr, align 4, !dbg !21
----------------
you can reduce the size of the testcase by manually making all !dbg attachments of the other instructions point to the same location. That will make it more obvious what the relevant part of the test is.


Repository:
  rL LLVM

https://reviews.llvm.org/D45341





More information about the llvm-commits mailing list