[all-commits] [llvm/llvm-project] 2386c3: [BasicAA] Gracefully handle large LocationSize (#1...
Nikita Popov via All-commits
all-commits at lists.llvm.org
Fri May 9 13:38:16 PDT 2025
Branch: refs/heads/release/20.x
Home: https://github.com/llvm/llvm-project
Commit: 2386c377db4ff35129d1dc6a618ea13252493ca4
https://github.com/llvm/llvm-project/commit/2386c377db4ff35129d1dc6a618ea13252493ca4
Author: Nikita Popov <npopov at redhat.com>
Date: 2025-05-09 (Fri, 09 May 2025)
Changed paths:
M llvm/lib/Analysis/BasicAliasAnalysis.cpp
A llvm/test/Analysis/BasicAA/size-overflow.ll
Log Message:
-----------
[BasicAA] Gracefully handle large LocationSize (#138528)
If the LocationSize is larger than the index space of the pointer type,
bail out instead of triggering an APInt assertion.
Fixes the issue reported at
https://github.com/llvm/llvm-project/pull/119365#issuecomment-2849874894.
(cherry picked from commit 027b2038140f309467585298f9cb10d6b37411e7)
To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications
More information about the All-commits
mailing list