Re: [PATCH GCC]Check tieable TRUNCATE only if inner rtx is register

2017-05-23 Thread Richard Sandiford
Bin Cheng writes: > Hi, > Revision 247881 possibly exposes bug in RTL or ARM backend, while the > change itself > may be incomplete too. Given a TRUNCATE rtx with complicated sub-rtx, > backend may > want to know the complicated sub-rtx happens in context of TRUNCATE in > order to give > differen

[PATCH GCC]Check tieable TRUNCATE only if inner rtx is register

2017-05-19 Thread Bin Cheng
Hi, Revision 247881 possibly exposes bug in RTL or ARM backend, while the change itself may be incomplete too. Given a TRUNCATE rtx with complicated sub-rtx, backend may want to know the complicated sub-rtx happens in context of TRUNCATE in order to give different costs. This patch adds restri