diff options
author | Nikita Popov <npopov@redhat.com> | 2025-09-15 09:34:04 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-09-15 09:34:04 +0200 |
commit | 3371375131c645bb579323b60e92f2b0f9079f24 (patch) | |
tree | 22ffaee1661e5a00afc8e54263b55ec10330ba33 /clang/lib/Frontend/CompilerInvocation.cpp | |
parent | 02d3e6ac75e776041fb1782efc4dfccfe6b46218 (diff) | |
download | llvm-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