summaryrefslogtreecommitdiffstats
path: root/lldb/source/Plugins/ScriptInterpreter/Python
diff options
context:
space:
mode:
authorJustin Bogner <mail@justinbogner.com>2019-03-19 16:52:00 +0000
committerJustin Bogner <mail@justinbogner.com>2019-03-19 16:52:00 +0000
commitb353d6887ea583f9dbdbe84bcc848b1d36314cde (patch)
tree85026188d6b3568f0ca96d707b13145430c7b58d /lldb/source/Plugins/ScriptInterpreter/Python
parent4ce581e5a9f902e5b6db0fd3115f5e914f105207 (diff)
downloadbcm5719-llvm-b353d6887ea583f9dbdbe84bcc848b1d36314cde.tar.gz
bcm5719-llvm-b353d6887ea583f9dbdbe84bcc848b1d36314cde.zip
[DAGCombine] Fix a miscompile when reducing BUILD_VECTORs to a shuffle
In r311255 we added a case where we split vectors whose elements are all derived from the same input vector so that we could shuffle it more efficiently. In doing so, createBuildVecShuffle was taught to adjust for the fact that all indices would be based off of the first vector when this happens, but it's possible for the code that checked that to fire incorrectly if we happen to have a BUILD_VECTOR of extracts from subvectors and don't hit this new optimization. Instead of trying to detect if we've split the vector by checking if we have extracts from the same base vector, we can just pass that information into createBuildVecShuffle, avoiding the miscompile. Differential Revision: https://reviews.llvm.org/D59507 llvm-svn: 356476
Diffstat (limited to 'lldb/source/Plugins/ScriptInterpreter/Python')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud