[all-commits] [llvm/llvm-project] 1c3859: [BasicAA] Don't consider Argument as escape source...
Nikita Popov via All-commits
all-commits at lists.llvm.org
Sat Sep 25 13:09:00 PDT 2021
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 1c3859f31d0ef8e99c4aabbcfd11e5eea03e3c15
https://github.com/llvm/llvm-project/commit/1c3859f31d0ef8e99c4aabbcfd11e5eea03e3c15
Author: Nikita Popov <nikita.ppv at gmail.com>
Date: 2021-09-25 (Sat, 25 Sep 2021)
Changed paths:
M llvm/lib/Analysis/BasicAliasAnalysis.cpp
Log Message:
-----------
[BasicAA] Don't consider Argument as escape source (NFCI)
The case of an Argument and an identified function local is already
handled earlier, because we don't care about captures in that case.
As such, we don't need to additionally consider the combination of
an Argument with a non-escaping identified function local.
This ensures that isEscapeSource() only returns true for
instructions, which is necessary for D110368.
More information about the All-commits
mailing list