[PATCH] D39240: Improve clamp recognition in ValueTracking.

Artur Gainullin via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Oct 26 16:00:56 PDT 2017


ArturGainullin updated this revision to Diff 120507.
ArturGainullin added a comment.

Sanjay, thank you very much! I agree that solution with helper function looks better.


https://reviews.llvm.org/D39240

Files:
  lib/Analysis/ValueTracking.cpp
  test/CodeGen/NVPTX/minmax-negative.ll
  test/Transforms/InstCombine/minmax-fold.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D39240.120507.patch
Type: text/x-patch
Size: 5968 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20171026/53f44cfb/attachment.bin>


More information about the llvm-commits mailing list