Files
Nikita Popov 89905ff214 [FunctionAttrs] Add support for nofree argument inference (#201591)
Unlike Attributor, FunctionAttrs currently only supports inferring
nofree on functions. This PR adds support for inferring it on arguments
as well.

I've chosen to integrate this with the inference for
readnone/readonly/writeonly attributes, as the core logic for these is
the same.

There is a lot of test fallout. The only significant changes are in
llvm/lib/Transforms/IPO/FunctionAttrs.cpp and
llvm/test/Transforms/FunctionAttrs/nofree.ll.
2026-06-05 12:36:55 +02:00
..