[PATCH] D36671: debuginfo: Improve line info when translating a CaseBlock to SDNodes

Adrian Prantl via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Aug 16 09:25:47 PDT 2017


aprantl added a comment.

Looking at the diff, it seems reasonable to check that all instructions in bb4 now have a debug-location annotation, and that the annotation is identical to the one on e.g., the jmp to bb4.

For example:

  CHECK: JMP{{.*}}%bb.4.entry, debug-location ![[JUMPLOC:[0-9]+]]
  CHECK: bb.4.entry:
  CHECK-NOT: :
  CHECK: JE{{.*}}debug-location ![[JUMPLOC]]
  CHECK-NOT: :
  CHECK: JMP{{.*}}debug-location ![[JUMPLOC]]


Repository:
  rL LLVM

https://reviews.llvm.org/D36671





More information about the llvm-commits mailing list