[LLVMbugs] [Bug 1248] Another InstCombine issue
bugzilla-daemon at cs.uiuc.edu
bugzilla-daemon at cs.uiuc.edu
Wed Mar 21 16:21:54 PDT 2007
http://llvm.org/bugs/show_bug.cgi?id=1248
rspencer at x10sys.com changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|ASSIGNED |RESOLVED
OS/Version|Linux |All
Platform|PC |All
Resolution| |FIXED
------- Additional Comments From rspencer at x10sys.com 2007-03-21 18:21 -------
Turns out there were two bugs. The AddWithOverflow needed to be APIntified and
to deal with the sign properly. Also, in the case of:
%Y = sdiv iN %X, C1
icmp pred iN %Y, -C2
there was an off-by-one error in the high bound for the range test that is
produced in the replacement.
This patch was applied:
http://lists.cs.uiuc.edu/pipermail/llvm-commits/Week-of-Mon-20070319/046072.html
------- 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