[PATCH] D83113: [LoopDeletion] Emit a remark when a dead loop is deleted
Francis Visoiu Mistrih via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Thu Jul 2 22:39:12 PDT 2020
thegameg created this revision.
thegameg added reviewers: anna, fhahn.
Herald added a subscriber: hiraditya.
Herald added a project: LLVM.
This emits a remark when LoopDeletion deletes a dead loop, using the source location of the loop's header. There are currently two reasons for removing the loop: invariant loop or loop that never executes.
https://reviews.llvm.org/D83113
Files:
llvm/lib/Transforms/Scalar/LoopDeletion.cpp
llvm/test/Transforms/LoopDeletion/basic-remark.ll
llvm/test/Transforms/LoopDeletion/unreachable-loops.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D83113.275292.patch
Type: text/x-patch
Size: 7661 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200703/69d16bc2/attachment.bin>
More information about the llvm-commits
mailing list