[PATCH] D67217: [Debuginfo][Instcombiner] Do not clone dbg.declare in TryToSinkInstruction()

Adrian Prantl via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Sep 9 14:04:38 PDT 2019


aprantl added inline comments.


================
Comment at: llvm/test/Transforms/InstCombine/do-not-clone-dbg-declare.ll:149
+!43 = !DILocation(line: 25, scope: !7)
+!44 = !DILocation(line: 0, scope: !7)
+!45 = !DILocation(line: 27, scope: !7)
----------------
You could probably use this as a !dbg atachement in most instructions to simplify the testcase.


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

https://reviews.llvm.org/D67217





More information about the llvm-commits mailing list