[LLVMbugs] [Bug 2697] apparent int64 bug
bugzilla-daemon at cs.uiuc.edu
bugzilla-daemon at cs.uiuc.edu
Sat Oct 11 15:55:39 PDT 2008
http://llvm.org/bugs/show_bug.cgi?id=2697
Chris Lattner <clattner at apple.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |FIXED
--- Comment #10 from Chris Lattner <clattner at apple.com> 2008-10-11 17:55:38 ---
Eli, you patch look great. I applied it here after giggling it around to apply
to mainline:
http://lists.cs.uiuc.edu/pipermail/llvm-commits/Week-of-Mon-20081006/068355.html
John, one very interesting experiment would be to exhaustively check whether we
do the right thing for code like this:
define i1 @x(i32 %x) nounwind {
%div = sdiv i32 %x, 65536 ; <i32> [#uses=1]
%cmp = icmp slt i32 %div, -65536
ret i1 %cmp
}
where you could use i16 (instead of i32 to speed things up) and check for all
constants, all compares, and both sdiv and udiv.
-Chris
--
Configure bugmail: http://llvm.org/bugs/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
More information about the llvm-bugs
mailing list