summaryrefslogtreecommitdiffstats
path: root/lldb/packages/Python/lldbsuite/test/expression_command/call-function
diff options
context:
space:
mode:
authorAlexey Bataev <a.bataev@hotmail.com>2018-01-19 14:40:13 +0000
committerAlexey Bataev <a.bataev@hotmail.com>2018-01-19 14:40:13 +0000
commitfa80c47c6a6741ad8536ef81034d901c70e934f5 (patch)
tree8c15691136c6ffa29e45928a74554b473b6483ed /lldb/packages/Python/lldbsuite/test/expression_command/call-function
parent545a20d90b8e5b89ad97e8da274bc05bf17920eb (diff)
downloadbcm5719-llvm-fa80c47c6a6741ad8536ef81034d901c70e934f5.tar.gz
bcm5719-llvm-fa80c47c6a6741ad8536ef81034d901c70e934f5.zip
[SLP] Fix vectorization for tree with trunc to minimum required bit width.
Summary: If the vectorized tree has truncate to minimum required bit width and the vector type of the cast operation after the truncation is the same as the vector type of the cast operands, count cost of the vector cast operation as 0, because this cast will be later removed. Also, if the vectorization tree root operations are integer cast operations, do not consider them as candidates for truncation. It will just create extra number of the same vector/scalar operations, which will be removed by instcombiner. Reviewers: RKSimon, spatel, mkuper, hfinkel, mssimpso Subscribers: llvm-commits Differential Revision: https://reviews.llvm.org/D41948 llvm-svn: 322946
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test/expression_command/call-function')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud