summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Transforms/Vectorize/LoadStoreVectorizer.cpp
diff options
context:
space:
mode:
authorSanjay Patel <spatel@rotateright.com>2017-01-13 17:02:42 +0000
committerSanjay Patel <spatel@rotateright.com>2017-01-13 17:02:42 +0000
commit51783636879a8da259020c27db2874c27c6612a3 (patch)
tree7bf0db61a3e6243a3c2612df56c5c2d3f2999a6c /llvm/lib/Transforms/Vectorize/LoadStoreVectorizer.cpp
parent1ed7896c1b656276bc3b495ecbca3096dd5781ab (diff)
downloadbcm5719-llvm-51783636879a8da259020c27db2874c27c6612a3.tar.gz
bcm5719-llvm-51783636879a8da259020c27db2874c27c6612a3.zip
[InstCombine] if the condition of a select may be known via assumes, eliminate the select
This is a limited solution for PR31512: https://llvm.org/bugs/show_bug.cgi?id=31512 The motivation is that we will need to increase usage of llvm.assume and/or metadata to solve PR28430: https://llvm.org/bugs/show_bug.cgi?id=28430 ...and this kind of simplification is needed to take advantage of that extra information. The 'not' test case would be handled by: https://reviews.llvm.org/D28485 Differential Revision: https://reviews.llvm.org/D28337 llvm-svn: 291915
Diffstat (limited to 'llvm/lib/Transforms/Vectorize/LoadStoreVectorizer.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud