[PATCH] D38531: Improve clamp recognition in ValueTracking.
Artur Gainullin via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Mon Oct 16 14:30:47 PDT 2017
ArturGainullin updated this revision to Diff 119216.
ArturGainullin marked an inline comment as done.
ArturGainullin added a comment.
We need to check that predicate is signed before matching patterns after clamp.
This condition was removed by mistake. Fixed.
https://reviews.llvm.org/D38531
Files:
lib/Analysis/ValueTracking.cpp
test/Transforms/InstCombine/minmax-fold.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D38531.119216.patch
Type: text/x-patch
Size: 8131 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20171016/c0e43004/attachment.bin>
More information about the llvm-commits
mailing list