[PATCH] D55299: [LoopDeletion] Update debug values after loop deletion.

Adrian Prantl via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Dec 4 15:58:19 PST 2018


aprantl added inline comments.


================
Comment at: llvm/test/Transforms/LoopDeletion/diundef.ll:20
+  br i1 %exitcond, label %for.cond, label %for.end, !dbg !24, !llvm.loop !25
+
+; CHECK: call void @llvm.dbg.value(metadata void undef, metadata !16, metadata !DIExpression()), !dbg !17
----------------
And add:
// Test that after deleting the loop, the initializer value doesn't suddenly extend beyond the loop.


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

https://reviews.llvm.org/D55299





More information about the llvm-commits mailing list