aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/Basic/SourceManager.cpp
diff options
context:
space:
mode:
authorHans Wennborg <hans@chromium.org>2023-09-29 10:33:11 +0200
committerHans Wennborg <hans@chromium.org>2023-09-29 10:42:19 +0200
commit06f3b0ed436b49caf667b19c95da51b9b9fb1b75 (patch)
treec4e7b815aafd3ca2c7da61351bc38e809806742e /clang/lib/Basic/SourceManager.cpp
parent15b687131f52ad3cc4fcb93abe73b77e680b79bf (diff)
downloadllvm-06f3b0ed436b49caf667b19c95da51b9b9fb1b75.zip
llvm-06f3b0ed436b49caf667b19c95da51b9b9fb1b75.tar.gz
llvm-06f3b0ed436b49caf667b19c95da51b9b9fb1b75.tar.bz2
Revert "[SLP]Improve costs in computeExtractCost() to avoid crash after D158449."
This caused asserts: Assertion failed: NumElts > 1 && "Expected at least 2-element fixed length vector(s).", file C:\b\s\w\ir\cache\builder\src\third_party\llvm\llvm\lib\Transforms\Vectorize\SLPVectorizer.cpp, line 7096 see comment on https://github.com/llvm/llvm-project/commit/59a67ea35d608480257fc64ec3e5106ef50de740 > 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. This reverts commit 59a67ea35d608480257fc64ec3e5106ef50de740.
Diffstat (limited to 'clang/lib/Basic/SourceManager.cpp')
0 files changed, 0 insertions, 0 deletions