[LLVMbugs] [Bug 2247] llvm needs an 'exact divide' flag/instruction

bugzilla-daemon at cs.uiuc.edu bugzilla-daemon at cs.uiuc.edu
Tue Aug 11 15:42:20 PDT 2009


http://llvm.org/bugs/show_bug.cgi?id=2247


Dan Gohman <gohman at apple.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |gohman at apple.com
             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED




--- Comment #9 from Dan Gohman <gohman at apple.com>  2009-08-11 17:42:19 ---
This is now fixed. LLVM's sdiv operator now has an "exact" flag, and
clang and llvm-gcc are now both using it for pointer difference
expressions.  On the original testcase, test and test2 are now
compiled to the same code.


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