[llvm-bugs] [Bug 27364] Fail to import jscop file

via llvm-bugs llvm-bugs at lists.llvm.org
Fri Apr 15 06:36:05 PDT 2016


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

Michael Kruse <llvm at meinersbur.de> changed:

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

--- Comment #1 from Michael Kruse <llvm at 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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20160415/85d3ea44/attachment.html>


More information about the llvm-bugs mailing list