summaryrefslogtreecommitdiffstats
path: root/lldb/packages/Python/lldbsuite/test/lang/cpp/breakpoint-commands/nested.cpp
diff options
context:
space:
mode:
authorCong Hou <congh@google.com>2015-12-13 16:55:46 +0000
committerCong Hou <congh@google.com>2015-12-13 16:55:46 +0000
commite6a210f50b6700397e336794fe5f387ef0890629 (patch)
treeca3d7cace9ec19759ce54791d5527900988ab757 /lldb/packages/Python/lldbsuite/test/lang/cpp/breakpoint-commands/nested.cpp
parent3e0c022aed4623390aefd82aa31a4ae47ca00fb9 (diff)
downloadbcm5719-llvm-e6a210f50b6700397e336794fe5f387ef0890629.tar.gz
bcm5719-llvm-e6a210f50b6700397e336794fe5f387ef0890629.zip
[LoopVectorizer] Refine loop vectorizer's register usage calculator by ignoring specific instructions.
(This is the second attempt to check in this patch: REQUIRES: asserts is added to reg-usage.ll now.) LoopVectorizationCostModel::calculateRegisterUsage() is used to estimate the register usage for specific VFs. However, it takes into account many instructions that won't be vectorized, such as induction variables, GetElementPtr instruction, etc.. This makes the loop vectorizer too conservative when choosing VF. In this patch, the induction variables that won't be vectorized plus GetElementPtr instruction will be added to ValuesToIgnore set so that their register usage won't be considered any more. Differential revision: http://reviews.llvm.org/D15177 llvm-svn: 255460
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test/lang/cpp/breakpoint-commands/nested.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud