diff options
author | Artem Serov <artem.serov@linaro.org> | 2020-02-27 18:51:24 +0000 |
---|---|---|
committer | Treehugger Robot <treehugger-gerrit@google.com> | 2020-03-04 22:23:22 +0000 |
commit | e521eb041875fbaf99eca5e6d2b438e7040b1dd8 (patch) | |
tree | 8546c64797ca6612ac206899e1dae549e3e1a85e /libnativeloader/native_loader_lazy.cpp | |
parent | 8a1a0f719e42746840f88aad079711e9d951b797 (diff) |
ART: Fix a compiler crash for VectorizeDef() idioms.
SAD vectorization idiom (and DotProduct which was based on it)
had a bug when some instruction in the loop was visited twice
causing a compiler crash. GenerateVecOp() was called for both
the idiom root instruction and its argument in the idiom
vectorization routine; however the argument could have been
already processed by that time. It happened when two vectorization
idioms' matched patterns had a common sub-expression.
Test: test-art-target.
Test: 623-checker-loop-regressions.
Change-Id: I8823c52f8ef62377c29310f0e335b9728d11068a
Diffstat (limited to 'libnativeloader/native_loader_lazy.cpp')
0 files changed, 0 insertions, 0 deletions