[PATCH] D43293: [SimplifyCFG] Don't remove preheaders when we need canonical loops.

Dave Green via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Feb 15 11:21:57 PST 2018


dmgreen updated this revision to Diff 134454.
dmgreen added a comment.

Updated to simplify if condition.


https://reviews.llvm.org/D43293

Files:
  include/llvm/Transforms/Utils/Local.h
  lib/Transforms/Scalar/SimplifyCFGPass.cpp
  lib/Transforms/Utils/SimplifyCFG.cpp
  test/Transforms/LoopUnswitch/2015-06-17-Metadata.ll
  test/Transforms/LoopUnswitch/infinite-loop.ll
  test/Transforms/SimplifyCFG/UncondBranchToHeader.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D43293.134454.patch
Type: text/x-patch
Size: 8847 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20180215/c91cbe68/attachment.bin>


More information about the llvm-commits mailing list