Re: Use target-insns.def for calls

2015-08-24 Thread Jeff Law
On 08/24/2015 06:54 AM, Richard Sandiford wrote: calls.c had support for sibcall_pop and sibcall_value_pop, but no port defines those patterns and the code looks inconsistent with the corresponding call_pop vs. call code. I've therefore dropped it rather than add untested entries to the .def fil

Use target-insns.def for calls

2015-08-24 Thread Richard Sandiford
This is the most complicated part of the conversion, since it is the only instance in which named patterns take optional operands. That still seems like a reasonable feature to have, so I extended the target-insns.def code to support it rather than update ports to accept all operands. With that c