> > > FWIW, this particular patch was regstrapped on x86-64-linux > > > with trunk from a week ago (and sniff-tested on current trunk). > > > > This looks really cool. > > The biggest benefit might be from IPA with LTO where we'd carefully place > those > attributes at WPA time (at that time tieing our hands for later).
Within single partition IRA already propagates the knowledge about callee-clobbered registers. Across partition we already automatically enable regparm with -m32 see ix86_function_regparm and tests for target->local and can_change_attribute Enabling SSE at the same spot should be easy. Honza