[PATCH] D28390: [DWARF] LICM should null out the debug loc of hoisted loop invariant instructions

Adrian Prantl via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Jan 6 08:36:22 PST 2017


aprantl added inline comments.


================
Comment at: lib/Transforms/Scalar/LICM.cpp:774
+  // behavior?
+  if (!isa<CallInst>(I))
+    I.setDebugLoc(DebugLoc());
----------------
Whate happens when isa<DebugIntrinsicInst>?


https://reviews.llvm.org/D28390





More information about the llvm-commits mailing list