[PATCH] D52508: [InstCombine] Clean up after IndVarSimplify

Dave Green via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Oct 10 04:48:28 PDT 2018


dmgreen updated this revision to Diff 168982.
dmgreen edited the summary of this revision.
dmgreen added a reviewer: lebedev.ri.
dmgreen added a comment.

I've taken the demand parts parts out of this, and added some extra tests for the do / while and signed /unsigned cases.

This patch gets us the unsigned while case, and a lot of the signed while case. Like I said, it can split up max's though.


https://reviews.llvm.org/D52508

Files:
  lib/Transforms/InstCombine/InstCombineAddSub.cpp
  test/Transforms/IndVarSimplify/replace-loop-exit-folds.ll
  test/Transforms/InstCombine/add-select.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D52508.168982.patch
Type: text/x-patch
Size: 8204 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20181010/632c4832/attachment.bin>


More information about the llvm-commits mailing list