summaryrefslogtreecommitdiffstats
path: root/lldb/source/Plugins/ScriptInterpreter/Python
diff options
context:
space:
mode:
authorDiana Picus <diana.picus@linaro.org>2019-11-07 13:09:32 +0100
committerDiana Picus <diana.picus@linaro.org>2019-11-12 12:27:09 +0100
commit7f1dcc8952e6a1a4ba918159ab86bd787d584930 (patch)
treeb6e147fd030704f5cb71ba2d50f36fc9a8167874 /lldb/source/Plugins/ScriptInterpreter/Python
parent8794f6787685655223be8a029bf51a1565f7a231 (diff)
downloadbcm5719-llvm-7f1dcc8952e6a1a4ba918159ab86bd787d584930.tar.gz
bcm5719-llvm-7f1dcc8952e6a1a4ba918159ab86bd787d584930.zip
[InstCombine] Skip scalable vectors in combineLoadToOperationType
Don't try to canonicalize loads to scalable vector types to loads of integers. This removes one assertion when trying to use a TypeSize as a parameter to DataLayout::isLegalInteger. It does not handle the second part of the function (which looks at bitcasts). This patch also contains a NFC fix for Load Analysis, where a variable initialization that would cause the same assertion is moved closer to its use. This allows us to run the new test for InstCombine without having to teach LocationSize to play nicely with scalable vectors. Differential Revision: https://reviews.llvm.org/D70075
Diffstat (limited to 'lldb/source/Plugins/ScriptInterpreter/Python')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud