summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp
diff options
context:
space:
mode:
authorNikolai Bozhenov <nikolai.bozhenov@intel.com>2017-10-16 09:19:21 +0000
committerNikolai Bozhenov <nikolai.bozhenov@intel.com>2017-10-16 09:19:21 +0000
commit0e7ebbccc7df5e5ca6187df2eeb3f429f40cfdc0 (patch)
tree534c418f1e8e33dfb877e143c6fed2a984ef4422 /llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp
parent4543affa98039679f91bf95b79e0d9fec82af0d7 (diff)
downloadbcm5719-llvm-0e7ebbccc7df5e5ca6187df2eeb3f429f40cfdc0.tar.gz
bcm5719-llvm-0e7ebbccc7df5e5ca6187df2eeb3f429f40cfdc0.zip
Move folding of icmp with zero after checking for min/max idioms.
Summary: The following transformation for cmp instruction: icmp smin(x, PositiveValue), 0 -> icmp x, 0 should only be done after checking for min/max to prevent infinite looping caused by a reverse canonicalization. That is why this transformation was moved to place after the mentioned check. Reviewers: spatel, efriedma Subscribers: llvm-commits Differential Revision: https://reviews.llvm.org/D38934 Patch by: Artur Gainullin <artur.gainullin@intel.com> llvm-svn: 315895
Diffstat (limited to 'llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud