[PATCH] D33186: [InstCombine] Canonicalize clamp of float types to minmax in fast mode.

Andrei Elovikov via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Jul 27 04:24:54 PDT 2017


a.elovikov updated this revision to Diff 108446.
a.elovikov added a comment.

Rebased to updated https://reviews.llvm.org/D35002 where fptosi tests were added. That also included re-base to the current master.
No changes in the instcombine results for these added tests though.


https://reviews.llvm.org/D33186

Files:
  llvm/include/llvm/IR/PatternMatch.h
  llvm/lib/Analysis/ValueTracking.cpp
  llvm/lib/Transforms/InstCombine/InstCombineSelect.cpp
  llvm/test/Transforms/InstCombine/clamp-to-minmax.ll
  llvm/test/Transforms/InstCombine/minmax-fold.ll
  llvm/test/Transforms/InstCombine/pr27236.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D33186.108446.patch
Type: text/x-patch
Size: 17255 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20170727/7a1d03bf/attachment.bin>


More information about the llvm-commits mailing list