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 08:44:08 +0000
committerCong Hou <congh@google.com>2015-12-13 08:44:08 +0000
commit7f8b43d42478a2d8140f2949314dcfa34071ac28 (patch)
treed4fad4145f9265c5db57b29e339cd213041c519e /lldb/packages/Python/lldbsuite/test/lang/cpp/breakpoint-commands/nested.cpp
parente4361859c0d1b039f6a5ddf369f8fb20bca292df (diff)
downloadbcm5719-llvm-7f8b43d42478a2d8140f2949314dcfa34071ac28.tar.gz
bcm5719-llvm-7f8b43d42478a2d8140f2949314dcfa34071ac28.zip
[LoopVectorizer] Refine loop vectorizer's register usage calculator by ignoring specific instructions.
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: 255454
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test/lang/cpp/breakpoint-commands/nested.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud