Files
clang-p2996/llvm/lib/Transforms/IPO/FunctionAttrs.cpp
Nikita Popov a3fdc36ac9 [FunctionAttrs] Remove dead code code in nocaptures inference (NFCI)
An argument graph node without uses forms a trivial SCC, which will
already be handled by the preceding branch.

If a node in the SCC points to a node with empty uses, then it will
be part of a different SCC, and as such assumed to be capturing
if it does not have an attribute. There is no need to handle them
separately.
2025-01-30 16:28:19 +01:00

86 KiB