Re: Current limitations of define_subst

2021-03-26 Thread Richard Sandiford via Gcc
Colin McEwan via Gcc writes: > Hi all, > > I was wondering if anyone understands the rationale behind the current > limitations on (define_subst), ie. working only on (define_insn) and > (define_expand). > > A lot of md cleanup, as well as extra patterns for combiner use, could be > enabled by sup

Current limitations of define_subst

2021-03-25 Thread Colin McEwan via Gcc
Hi all, I was wondering if anyone understands the rationale behind the current limitations on (define_subst), ie. working only on (define_insn) and (define_expand). A lot of md cleanup, as well as extra patterns for combiner use, could be enabled by supporting (define_split) / (define_insn_and_sp