[all-commits] [llvm/llvm-project] 440ce0: [FunctionAttrs] Handle potential access of capture...
Nikita Popov via All-commits
all-commits at lists.llvm.org
Thu Oct 13 02:15:56 PDT 2022
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 440ce05fbf869040b41a5fc9953d7b11ad5bb776
https://github.com/llvm/llvm-project/commit/440ce05fbf869040b41a5fc9953d7b11ad5bb776
Author: Nikita Popov <npopov at redhat.com>
Date: 2022-10-13 (Thu, 13 Oct 2022)
Changed paths:
M llvm/lib/Transforms/IPO/FunctionAttrs.cpp
Log Message:
-----------
[FunctionAttrs] Handle potential access of captured argument
We have to account for accesses to argument memory via captures.
I don't think there's any way to make this produce incorrect
results right now (because as soon as "other" is set, we lose the
ability to infer argmemonly), but this avoids incorrect results
once we have more precise representation.
More information about the All-commits
mailing list