llvm-project
33713751 - [InstCombine] Read-only call without return can capture (#157878)

Commit
134 days ago
[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.
Author
Parents
Loading