[PATCH] D29107: Fix a bug when unswitching on partial LIV for SwitchInst
Xin Tong via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Sat Feb 18 19:32:45 PST 2017
trentxintong updated this revision to Diff 89053.
trentxintong added a comment.
Decided to teach how to unswitch value out of default-case in case its can lead to
simplifications in at least one of the loops.
Also fix a small bug about how unswitched value is recorded. Updated the test cases to
check for that.
https://reviews.llvm.org/D29107
Files:
lib/Transforms/Scalar/LoopUnswitch.cpp
test/Transforms/LoopUnswitch/basictest.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D29107.89053.patch
Type: text/x-patch
Size: 16829 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20170219/7ca0c574/attachment.bin>
More information about the llvm-commits
mailing list