[all-commits] [llvm/llvm-project] 1d9f49: [BasicAA] Add simple depth limit to avoid stack ov...
Nikita Popov via All-commits
all-commits at lists.llvm.org
Fri Feb 19 02:53:50 PST 2021
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 1d9f4903c6151f1b3f90a743eac339dde8ef5d29
https://github.com/llvm/llvm-project/commit/1d9f4903c6151f1b3f90a743eac339dde8ef5d29
Author: Nikita Popov <nikita.ppv at gmail.com>
Date: 2021-02-19 (Fri, 19 Feb 2021)
Changed paths:
M llvm/lib/Analysis/BasicAliasAnalysis.cpp
Log Message:
-----------
[BasicAA] Add simple depth limit to avoid stack overflow (PR49151)
This is a simpler variant of D96647. It just adds a straightforward
depth limit with a high cutoff, without introducing complex logic
for BatchAA consistency. It accepts that we may cache a sub-optimal
result if the depth limit is hit.
Eventually this should be more fully addressed by D96647 or similar,
but in the meantime this avoids stack overflows in a cheap way.
Differential Revision: https://reviews.llvm.org/D96996
More information about the All-commits
mailing list