aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/Frontend/CompilerInvocation.cpp
diff options
context:
space:
mode:
authorNikita Popov <npopov@redhat.com>2025-09-15 09:34:04 +0200
committerGitHub <noreply@github.com>2025-09-15 09:34:04 +0200
commit3371375131c645bb579323b60e92f2b0f9079f24 (patch)
tree22ffaee1661e5a00afc8e54263b55ec10330ba33 /clang/lib/Frontend/CompilerInvocation.cpp
parent02d3e6ac75e776041fb1782efc4dfccfe6b46218 (diff)
downloadllvm-3371375131c645bb579323b60e92f2b0f9079f24.zip
llvm-3371375131c645bb579323b60e92f2b0f9079f24.tar.gz
llvm-3371375131c645bb579323b60e92f2b0f9079f24.tar.bz2
[InstCombine] Read-only call without return can capture (#157878)
The copied from constant memory analysis had a special case where nocapture was not required for read-only calls without (or unused) return. This is not correct, as the address can still be captured though means other than memory and the return value, for example using divergence. This code should not be trying to do its own nocapture inference.
Diffstat (limited to 'clang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions