Re: Question about subregs on constants

2015-10-30 Thread Andreas Krebbel
On 10/27/2015 06:09 PM, Jakub Jelinek wrote: > On Tue, Oct 27, 2015 at 05:47:19PM +0100, Andreas Krebbel wrote: >> Hi, >> >> what does speak against folding SUBREGs on constants in fold_rtx? >> >> CSE does refuse to propagate constants into subreg expressions probably >> because fold_rtx does not

Re: Question about subregs on constants

2015-10-27 Thread Jakub Jelinek
On Tue, Oct 27, 2015 at 05:47:19PM +0100, Andreas Krebbel wrote: > Hi, > > what does speak against folding SUBREGs on constants in fold_rtx? > > CSE does refuse to propagate constants into subreg expressions probably > because fold_rtx does not > handle it - and in fact a subreg on a constant do

Question about subregs on constants

2015-10-27 Thread Andreas Krebbel
Hi, what does speak against folding SUBREGs on constants in fold_rtx? CSE does refuse to propagate constants into subreg expressions probably because fold_rtx does not handle it - and in fact a subreg on a constant does not seem to be defined. I'm wondering why this is the case? What's the prob