diff options
author | Sanjay Patel <spatel@rotateright.com> | 2015-01-22 18:21:26 +0000 |
---|---|---|
committer | Sanjay Patel <spatel@rotateright.com> | 2015-01-22 18:21:26 +0000 |
commit | 37c41c1d2c787ebc51fe40d1cc0d14e57f4b648d (patch) | |
tree | 97801edd5ab6581263fe97b02dfdd6793e90e7d6 /lldb/source/Core/Module.cpp | |
parent | 74e82fa4f3c07aa388dfe41ebc300aeeaeb5a9cb (diff) | |
download | bcm5719-llvm-37c41c1d2c787ebc51fe40d1cc0d14e57f4b648d.tar.gz bcm5719-llvm-37c41c1d2c787ebc51fe40d1cc0d14e57f4b648d.zip |
merge consecutive stores of extracted vector elements (PR21711)
This is a 2nd try at the same optimization as http://reviews.llvm.org/D6698.
That patch was checked in at r224611, but reverted at r225031 because it
caused a failure outside of the regression tests.
The cause of the crash was not recognizing consecutive stores that have mixed
source values (loads and vector element extracts), so this patch adds a check
to bail out if any store value is not coming from a vector element extract.
This patch also refactors the shared logic of the constant source and vector
extracted elements source cases into a helper function.
Differential Revision: http://reviews.llvm.org/D6850
llvm-svn: 226845
Diffstat (limited to 'lldb/source/Core/Module.cpp')
0 files changed, 0 insertions, 0 deletions