On 9/23/19 9:26 AM, Andrew Stubbs wrote: > On 23/09/2019 16:21, Segher Boessenkool wrote: >> Pass the register class or constraint or something like that to the hook, >> then based on what the hook returns, either or not do the reject? So >> your >> hook would special-case SCC_CONDITIONAL_REG, maybe a few more similar >> ones >> (those are confusing names btw, _REG but they are register classes). > > It's a class of one register! So maybe use CLASS_LIKELY_SPILLED_P as the trigger?
jeff