New pseudos in splitters

Ilya Leoshkevich iii@linux.ibm.com
Wed Sep 23 14:51:26 GMT 2020


Hi,

"Defining How to Split Instructions" in gccint states the following:

The preparation-statements are similar to those statements that are
specified for define_expand ... Unlike those in define_expand, however,
these statements must not generate any new pseudo-registers.

I see that there is code that does this anyway, e.g. "Split
calculate_pic_address into pic_load_addr_* and a move." in arm.md.

Is this restriction still valid today?  Is there a reason we can't
introduce new pseudos in a splitter before LRA?

Best regards,
Ilya



More information about the Gcc mailing list