[LLVMbugs] [Bug 9387] llvm generates call to __udivdi3 by constant instead of inlining multiply sequence

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Fri Aug 31 15:31:02 PDT 2012


Benjamin Kramer <benny.kra at gmail.com> changed:

           What    |Removed                     |Added
             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED

--- Comment #10 from Benjamin Kramer <benny.kra at gmail.com> 2012-08-31 17:31:02 CDT ---
We don't have the legalization tweak to turn any i64 divide by a i32 into a div
instruction on 32 bit x86, but instcombine gets it right for the constant case.

The legalize issue is tracked in Target/X86/README.txt so we can close this

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