summaryrefslogtreecommitdiffstats
path: root/lldb/packages/Python/lldbsuite/test/functionalities/non-overlapping-index-variable-i/main.cpp
diff options
context:
space:
mode:
authorSimon Pilgrim <llvm-dev@redking.me.uk>2018-12-01 14:18:31 +0000
committerSimon Pilgrim <llvm-dev@redking.me.uk>2018-12-01 14:18:31 +0000
commit102854f4d403f22af10bd521a381adbd49f350a5 (patch)
tree73508ed5a347dd0a6f66acf5b66a727d82de972d /lldb/packages/Python/lldbsuite/test/functionalities/non-overlapping-index-variable-i/main.cpp
parentba559ac0584900531a12a47e410fd7fe841be3e5 (diff)
downloadbcm5719-llvm-102854f4d403f22af10bd521a381adbd49f350a5.tar.gz
bcm5719-llvm-102854f4d403f22af10bd521a381adbd49f350a5.zip
[TTI] Reduction costs only need to include a single extract element cost (REAPPLIED)
We were adding the entire scalarization extraction cost for reductions, which returns the total cost of extracting every element of a vector type. For reductions we don't need to do this - we just need to extract the 0'th element after the reduction pattern has completed. Fixes PR37731 Rebased and reapplied after being reverted in rL347541 due to PR39774 - which was fixed by D54955/rL347759 and D55017/rL347997 Differential Revision: https://reviews.llvm.org/D54585 llvm-svn: 348076
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test/functionalities/non-overlapping-index-variable-i/main.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud