[PATCH] D53876: Preserve loop metadata when splitting exit blocks

Chang Lin via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Nov 20 10:16:31 PST 2018


clin1 updated this revision to Diff 174807.
clin1 added a comment.

Did not include the reverted part of the code (the important part :) ) in the new patch. Added separate testcase for switch-backedge. Thanks for the fix suggestions.


https://reviews.llvm.org/D53876

Files:
  lib/Transforms/Utils/LoopUtils.cpp
  test/Transforms/LoopSimplify/preserve-llvm-loop-metadata2.ll
  test/Transforms/LoopSimplify/preserve-llvm-loop-metadata3.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D53876.174807.patch
Type: text/x-patch
Size: 8063 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20181120/1ead1499/attachment.bin>


More information about the llvm-commits mailing list