[PATCH] D64224: Keep the order of the basic blocks in the cloned loop as the original loop

Whitney via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Jul 5 19:37:37 PDT 2019


Whitney updated this revision to Diff 208249.
Whitney marked 2 inline comments as done.
Whitney added a comment.

@hfinkel Thanks for the review! I am not sure how to add a test in test/Analysis/LoopInfo, as cloneLoopWithPreheader() is not called by LoopInfo, so I added a test in unittests/Transforms/Utils/CloningTest.cpp instead.


Repository:
  rL LLVM

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

https://reviews.llvm.org/D64224

Files:
  llvm/lib/Transforms/Utils/CloneFunction.cpp
  llvm/unittests/Transforms/Utils/CloningTest.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D64224.208249.patch
Type: text/x-patch
Size: 6062 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20190706/554a67ae/attachment.bin>


More information about the llvm-commits mailing list