Files
llvm-project/llvm/lib/Transforms/IPO/FunctionSpecialization.cpp
Nikita Popov 40e7fa632d [Passes][FuncSpec] Move optsize/minsize handling into pass (#189952)
Instead of using the Os/Oz level during pass pipeline construction,
query the optsize/minsize attribute on the function to determine whether
specialization is allowed to take place. This ensures consistent
behavior for per-function attributes.

It's worth noting that FuncSpec *already* checks for minsize, but at the
call-site level.
2026-04-02 09:32:39 +02:00

44 KiB