commit | 72c8c4c1106efcd8b54d523c07201314271ee158 | [log] [tgz] |
---|---|---|
author | Alexey Bataev <a.bataev@outlook.com> | Fri Sep 22 06:52:40 2023 -0700 |
committer | Copybara-Service <copybara-worker@google.com> | Fri Sep 29 07:54:25 2023 -0700 |
tree | 6acd7f90734e4b4d03060f2f966b61b9deb2f48c | |
parent | 12beede13000af8a766d8a0ec04c4f69582985ef [diff] |
[SLP]Improve costs in computeExtractCost() to avoid crash after D158449. Need to consider the length of the original vector for extractelements, not the length, matched number of the scalars. It fixes 2 issues: 1) improves cost estimation; 2) Fixes crashes after D158449. GitOrigin-RevId: 019aee832768b0704048905cd8ce20299e7e0b25