https://llvm.org/bugs/show_bug.cgi?id=27364

Michael Kruse <l...@meinersbur.de> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |INVALID

--- Comment #1 from Michael Kruse <l...@meinersbur.de> ---
Thank you for preparing a an archive that contains everything required for
reproducing. This helps a lot.

The modified schedule contains an impossible condition:

o2 = ( i0 + 7 - i0 ) / 64

or simplified:

o2 = 7 / 64

This is a rational value, but o2 can only be integral. Therefore the comparison
is always false. What you probably want is:

o2 = floor(( i0 + 7 - i0 ) / 64)

or just

o2 = 0

Admittedly, Polly could warn about it and ignore the wrong schedule instead of
crashing. However, the load schedule feature is mainly meant for testing so we
don't have extensive validity checks in place.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
llvm-bugs mailing list
llvm-bugs@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs

Reply via email to