[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
Tue Jun 27 12:55:26 PDT 2017


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

Limit clamp->min/max transformation to float types only.


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

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D33186.104240.patch
Type: text/x-patch
Size: 12875 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20170627/b1deb73c/attachment.bin>


More information about the llvm-commits mailing list