Re: Short-circuit alt_fail case in record_reg_classes

2017-01-06 Thread Jeff Law
On 12/23/2016 10:50 AM, Richard Sandiford wrote: record_reg_classes is often the hottest function when generating unoptimised output. It seems typical for over 60% of the instructions it handles to be moves, and of course moves tend to be the instructions with the longest constraint strings. Ma

Short-circuit alt_fail case in record_reg_classes

2016-12-23 Thread Richard Sandiford
record_reg_classes is often the hottest function when generating unoptimised output. It seems typical for over 60% of the instructions it handles to be moves, and of course moves tend to be the instructions with the longest constraint strings. Maybe we should avoid using move constraints to set c