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.
44 KiB
44 KiB