diff options
author | Alexey Bataev <a.bataev@outlook.com> | 2023-09-22 06:52:40 -0700 |
---|---|---|
committer | Alexey Bataev <a.bataev@outlook.com> | 2023-09-28 09:36:08 -0700 |
commit | 59a67ea35d608480257fc64ec3e5106ef50de740 (patch) | |
tree | d84993167445899ef6ce57ed66e17ae6d9b73c23 /clang/lib/Lex/ModuleMap.cpp | |
parent | 6bbccc0bcb36689507ba98ef338527d43334c7e7 (diff) | |
download | llvm-59a67ea35d608480257fc64ec3e5106ef50de740.zip llvm-59a67ea35d608480257fc64ec3e5106ef50de740.tar.gz llvm-59a67ea35d608480257fc64ec3e5106ef50de740.tar.bz2 |
[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.
Diffstat (limited to 'clang/lib/Lex/ModuleMap.cpp')
0 files changed, 0 insertions, 0 deletions