summaryrefslogtreecommitdiffstats
path: root/lldb/packages/Python/lldbsuite/test/python_api
diff options
context:
space:
mode:
authorMatthew Simpson <mssimpso@codeaurora.org>2016-01-21 16:31:55 +0000
committerMatthew Simpson <mssimpso@codeaurora.org>2016-01-21 16:31:55 +0000
commitcb17d72170cb1bba19ec29ae62cf453aa2015389 (patch)
tree4a66017b7e500618f9ac6a0347127f51fe80b757 /lldb/packages/Python/lldbsuite/test/python_api
parent61c115f32c14695f3b3536d97823e0b4f8b06bb7 (diff)
downloadbcm5719-llvm-cb17d72170cb1bba19ec29ae62cf453aa2015389.tar.gz
bcm5719-llvm-cb17d72170cb1bba19ec29ae62cf453aa2015389.zip
[SLP] Truncate expressions to minimum required bit width
This change attempts to produce vectorized integer expressions in bit widths that are narrower than their scalar counterparts. The need for demotion arises especially on architectures in which the small integer types (e.g., i8 and i16) are not legal for scalar operations but can still be used in vectors. Like similar work done within the loop vectorizer, we rely on InstCombine to perform the actual type-shrinking. We use the DemandedBits analysis and ComputeNumSignBits from ValueTracking to determine the minimum required bit width of an expression. Differential revision: http://reviews.llvm.org/D15815 llvm-svn: 258404
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test/python_api')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud