[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


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:

We were doing an incorrect udiv where we wanted sdiv.

Thanks for the bug report!


------- 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