[LLVMbugs] [Bug 726] [scev] Incorrect evaluation of {10, +, 9, -1} @ 2

bugzilla-daemon at cs.uiuc.edu bugzilla-daemon at cs.uiuc.edu
Fri Mar 31 20:51:00 PST 2006


http://llvm.cs.uiuc.edu/bugs/show_bug.cgi?id=726

sabre at nondot.org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
          Component|Loop Optimizer              |Global Analyses
         Resolution|                            |FIXED
            Summary|Incorrect compilation of    |[scev] Incorrect evaluation
                   |some integer arithmetic     |of {10,+,9,-1} @ 2



------- Additional Comments From sabre at nondot.org  2006-03-31 22:51 -------
Fixed.  Testcase here: Transforms/IndVarsSimplify/2006-03-31-NegativeStride.ll

Patches here:
http://lists.cs.uiuc.edu/pipermail/llvm-commits/Week-of-Mon-20060327/033505.html
http://lists.cs.uiuc.edu/pipermail/llvm-commits/Week-of-Mon-20060327/033506.html

We were doing an incorrect udiv where we wanted sdiv.

Thanks for the bug report!

-Chris



------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.




More information about the llvm-bugs mailing list