diff options
author | Alexey Bataev <a.bataev@hotmail.com> | 2017-09-08 13:49:36 +0000 |
---|---|---|
committer | Alexey Bataev <a.bataev@hotmail.com> | 2017-09-08 13:49:36 +0000 |
commit | 6dd29fccb881cd3f766effe22a0732d7f02b37fe (patch) | |
tree | 0b6aaca1b921fa53193282087296a8fe9bf54d9f /llvm/lib/ProfileData/Coverage/CoverageMappingReader.cpp | |
parent | 46dfb7a39d7eb7e7b2439494ad18e31056aa6d09 (diff) | |
download | llvm-6dd29fccb881cd3f766effe22a0732d7f02b37fe.zip llvm-6dd29fccb881cd3f766effe22a0732d7f02b37fe.tar.gz llvm-6dd29fccb881cd3f766effe22a0732d7f02b37fe.tar.bz2 |
[SLP] Support for horizontal min/max reduction.
SLP vectorizer supports horizontal reductions for Add/FAdd binary
operations. Patch adds support for horizontal min/max reductions.
Function getReductionCost() is split to getArithmeticReductionCost() for
binary operation reductions and getMinMaxReductionCost() for min/max
reductions.
Patch fixes PR26956.
Differential revision: https://reviews.llvm.org/D27846
llvm-svn: 312791
Diffstat (limited to 'llvm/lib/ProfileData/Coverage/CoverageMappingReader.cpp')
0 files changed, 0 insertions, 0 deletions