aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/CodeGen/CodeGenFunction.cpp
diff options
context:
space:
mode:
authorAlexey Bataev <a.bataev@outlook.com>2025-01-08 06:06:43 -0800
committerAlexey Bataev <a.bataev@outlook.com>2025-01-08 06:47:41 -0800
commit1160994602b90890efd4df4e134e46cc3ad34bc8 (patch)
treeb26a31e0d9825aa8d8886c60568bdb5da6974d5f /clang/lib/CodeGen/CodeGenFunction.cpp
parentfdd7cafb9078e146634a3fbb72a8949108dca425 (diff)
downloadllvm-1160994602b90890efd4df4e134e46cc3ad34bc8.zip
llvm-1160994602b90890efd4df4e134e46cc3ad34bc8.tar.gz
llvm-1160994602b90890efd4df4e134e46cc3ad34bc8.tar.bz2
[SLP]Fix a crash for very long GEP chains
Need to check if the GEP bases are equal and return false early. Also, need to return false if the lookup is too deep, considering bases equal too. Fixes a crash in the assertion.
Diffstat (limited to 'clang/lib/CodeGen/CodeGenFunction.cpp')
0 files changed, 0 insertions, 0 deletions