[PATCH] D48851: [PM/LoopUnswitch] Fix the first and immediate components of PR37889.

Chandler Carruth via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Jul 2 19:20:15 PDT 2018


chandlerc updated this revision to Diff 153849.
chandlerc added a comment.

Add non-trivial test cases. The logic already correctly handled these, but this
gives me more confidence in having comprehensive testing.


Repository:
  rL LLVM

https://reviews.llvm.org/D48851

Files:
  llvm/lib/Transforms/Scalar/SimpleLoopUnswitch.cpp
  llvm/test/Transforms/SimpleLoopUnswitch/nontrivial-unswitch.ll
  llvm/test/Transforms/SimpleLoopUnswitch/trivial-unswitch.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D48851.153849.patch
Type: text/x-patch
Size: 26672 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20180703/da05afa7/attachment.bin>


More information about the llvm-commits mailing list