On 5/16/25 11:32 AM, Richard Sandiford wrote:
output_add_clobbers emits code to add: (clobber (scratch:M)) and/or: (clobber (reg:M R)) expressions to the end of a PARALLEL. At the moment, it does this using the general gen_exp function. That makes sense with the code in its current form, but with later patches it's more convenient to handle the two cases directly. This also avoids having to pass an md_rtx_info that is unrelated to the clobber expressions. gcc/ * genemit.cc (clobber_pat::code): Delete. (maybe_queue_insn): Don't set clobber_pat::code. (output_add_clobbers): Remove info argument and output the two REG and SCRATCH cases directly. (main): Update call accordingly.
OK jeff