summaryrefslogtreecommitdiffstats
path: root/lldb/packages/Python/lldbsuite/support/funcutils.py
diff options
context:
space:
mode:
authorMatthew Simpson <mssimpso@codeaurora.org>2016-02-19 17:56:08 +0000
committerMatthew Simpson <mssimpso@codeaurora.org>2016-02-19 17:56:08 +0000
commit29c997c1a18ad48254622540bb2989f008da1f94 (patch)
tree1d6da2cac3f38193a4d07bdb4b8d147b5b748e42 /lldb/packages/Python/lldbsuite/support/funcutils.py
parent615a807ee835bc18478770161ab8409eea2fccdc (diff)
downloadbcm5719-llvm-29c997c1a18ad48254622540bb2989f008da1f94.tar.gz
bcm5719-llvm-29c997c1a18ad48254622540bb2989f008da1f94.zip
[LV] Vectorize first-order recurrences
This patch enables the vectorization of first-order recurrences. A first-order recurrence is a non-reduction recurrence relation in which the value of the recurrence in the current loop iteration equals a value defined in the previous iteration. The load PRE of the GVN pass often creates these recurrences by hoisting loads from within loops. In this patch, we add a new recurrence kind for first-order phi nodes and attempt to vectorize them if possible. Vectorization is performed by shuffling the values for the current and previous iterations. The vectorization cost estimate is updated to account for the added shuffle instruction. Contributed-by: Matthew Simpson and Chad Rosier <mcrosier@codeaurora.org> Differential Revision: http://reviews.llvm.org/D16197 llvm-svn: 261346
Diffstat (limited to 'lldb/packages/Python/lldbsuite/support/funcutils.py')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud