diff options
author | Florian Hahn <flo@fhahn.com> | 2019-05-15 10:05:49 +0000 |
---|---|---|
committer | Florian Hahn <flo@fhahn.com> | 2019-05-15 10:05:49 +0000 |
commit | 9e778e6c730a439229079811674dec6a37792412 (patch) | |
tree | 66f8bcd21c4d226029cb4cd5dead532ea8a4f9d9 /lldb/packages/Python/lldbsuite/test/python_api/interpreter/TestRunCommandInterpreterAPI.py | |
parent | de1becfaa198115fa695e6bd939dce94ca15d860 (diff) | |
download | bcm5719-llvm-9e778e6c730a439229079811674dec6a37792412.tar.gz bcm5719-llvm-9e778e6c730a439229079811674dec6a37792412.zip |
[LV] Move getScalarizationOverhead and vector call cost computations to CM. (NFC)
This reduces the number of parameters we need to pass in and they seem a
natural fit in LoopVectorizationCostModel. Also simplifies things for
D59995.
As a follow up refactoring, we could only expose a expose a
shouldUseVectorIntrinsic() helper in LoopVectorizationCostModel, instead
of calling getVectorCallCost/getVectorIntrinsicCost in
InnerLoopVectorizer/VPRecipeBuilder.
Reviewers: Ayal, hsaito, dcaballe, rengolin
Reviewed By: rengolin
Differential Revision: https://reviews.llvm.org/D61638
llvm-svn: 360758
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test/python_api/interpreter/TestRunCommandInterpreterAPI.py')
0 files changed, 0 insertions, 0 deletions