This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug tree-optimization/68576] scev failed for loop auto parallelize


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68576

Richard Biener <rguenth at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |missed-optimization
             Status|UNCONFIRMED                 |NEW
   Last reconfirmed|                            |2015-11-27
                 CC|                            |spop at gcc dot gnu.org
     Ever confirmed|0                           |1

--- Comment #2 from Richard Biener <rguenth at gcc dot gnu.org> ---
I think the issue is that with respect to loop 4 the evolution is

_76 = { 1 + _373, + , 1 }_4

but with all the casting we end up with

(set_scalar_evolution
  instantiated_below = 5
  (scalar = _470)
  (scalar_evolution = {(unsigned long) stride.92_29 + (unsigned long)
offset.93_35, +, (unsigned long) stride.92_29}_1))
)

and instantiate_scev for the SCEV above fails.  Likewise for instantiate
below 10, only below 15 succeeds in the end.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]