Sudi Das wrote: > Thanks, I have made the changes to the patch. > Also can someone please apply it for me. I do not have commit access. > > 2017-10-10 Sudakshina Das <sudi....@arm.com> > > PR middle-end/80131 > * match.pd: Simplify 1 << (C - x) where C = precision (x) - 1. > > 2017-10-10 Sudakshina Das <sudi....@arm.com> > > PR middle-end/80131 > * testsuite/gcc.dg/pr80131-1.c: New Test. > > > With regards to the existing missed optimizations needed to the x86 RTL > expansion, > I think the discussions can take place on the bug report that I created and > maybe someone will pick it up.
I've committed this as r254496. Wilco