[PATCH] D29016: [LoopUnswitch] Do not freeze condition if hoisted branch is guaranteed to be reachable

Juneyoung Lee via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Feb 3 08:11:53 PST 2017


aqjune updated this revision to Diff 86965.
aqjune added a comment.

- Add `FindNextSuccessorBlock`
- Minor modifications


https://reviews.llvm.org/D29016

Files:
  lib/Transforms/Scalar/LoopUnswitch.cpp
  test/Transforms/LoopUnswitch/2011-11-18-SimpleSwitch.ll
  test/Transforms/LoopUnswitch/2011-11-18-TwoSwitches-Threshold.ll
  test/Transforms/LoopUnswitch/2011-11-18-TwoSwitches.ll
  test/Transforms/LoopUnswitch/2015-06-17-Metadata.ll
  test/Transforms/LoopUnswitch/copy-metadata.ll
  test/Transforms/LoopUnswitch/freeze.ll
  test/Transforms/LoopUnswitch/infinite-loop.ll
  test/Transforms/LoopUnswitch/msan.ll
  test/Transforms/LoopUnswitch/trivial-unswitch.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D29016.86965.patch
Type: text/x-patch
Size: 15956 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20170203/9b161915/attachment.bin>


More information about the llvm-commits mailing list