summaryrefslogtreecommitdiffstats
path: root/libcxx/test/std/algorithms/alg.nonmodifying/alg.equal/equal_pred.pass.cpp
diff options
context:
space:
mode:
authorSjoerd Meijer <sjoerd.meijer@arm.com>2019-11-06 09:58:36 +0000
committerSjoerd Meijer <sjoerd.meijer@arm.com>2019-11-06 10:14:20 +0000
commit6c2a4f5ff93e16c3b86c18543e02a193ced2d956 (patch)
treed2cb3ef09bdcc0e963f75f4dd5cfa58705d450da /libcxx/test/std/algorithms/alg.nonmodifying/alg.equal/equal_pred.pass.cpp
parent9577ee84e638530be7a310c9d50526a36e3c212e (diff)
downloadbcm5719-llvm-6c2a4f5ff93e16c3b86c18543e02a193ced2d956.tar.gz
bcm5719-llvm-6c2a4f5ff93e16c3b86c18543e02a193ced2d956.zip
[TTI][LV] preferPredicateOverEpilogue
We have two ways to steer creating a predicated vector body over creating a scalar epilogue. To force this, we have 1) a command line option and 2) a pragma available. This adds a third: a target hook to TargetTransformInfo that can be queried whether predication is preferred or not, which allows the vectoriser to make the decision without forcing it. While this change behaves as a non-functional change for now, it shows the required TTI plumbing, usage of this new hook in the vectoriser, and the beginning of an ARM MVE implementation. I will follow up on this with: - a complete MVE implementation, see D69845. - a patch to disable this, i.e. we should respect "vector_predicate(disable)" and its corresponding loophint. Differential Revision: https://reviews.llvm.org/D69040
Diffstat (limited to 'libcxx/test/std/algorithms/alg.nonmodifying/alg.equal/equal_pred.pass.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud