Re: [PATCH, rtl-optimization]: Fix PR77452, ICE: in plus_constant, at explow.c

2016-09-05 Thread Richard Biener
On September 5, 2016 12:11:47 PM GMT+02:00, Bernd Schmidt wrote: >On 09/04/2016 02:12 PM, Uros Bizjak wrote: >> As shown in the PR [1], combine is able to simplify lowpart >> CONST_VECTOR constant pool reference to its inner-mode reference. >> However, plus_constant was not able to extract the co

Re: [PATCH, rtl-optimization]: Fix PR77452, ICE: in plus_constant, at explow.c

2016-09-05 Thread Bernd Schmidt
On 09/04/2016 02:12 PM, Uros Bizjak wrote: As shown in the PR [1], combine is able to simplify lowpart CONST_VECTOR constant pool reference to its inner-mode reference. However, plus_constant was not able to extract the constant from narrowed access. Attached patch teaches plus_constant how to h

[PATCH, rtl-optimization]: Fix PR77452, ICE: in plus_constant, at explow.c

2016-09-04 Thread Uros Bizjak
Hello! As shown in the PR [1], combine is able to simplify lowpart CONST_VECTOR constant pool reference to its inner-mode reference. However, plus_constant was not able to extract the constant from narrowed access. Attached patch teaches plus_constant how to handle this situation. 2016-09-04 Ur