This repository was archived by the owner on Sep 2, 2018. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 21
Support 32-bit and bigger division #149
Labels
Comments
This blocks Arduino - the following files use 32-bit division:
If these features are not used, Arduino is likely to work. |
This was referenced Aug 16, 2015
Closed
Closed
I'm having this build error:
Not sure if it relates to this issue fix or not. |
Hehe... That's the spirit! :-D |
Reproduction code: define i64 @do_thing(i64 %a, i64 %b) {
%1 = udiv i64 %a, %b
ret i64 %1
} |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
We support 8 and 16-bit division through the use of custom lowering.
We cannot custom lower an illegal type (greater than 16-bits).
LLVM will use its existing libcall infrastructure, leading to the rtlib function being called incorrectly (with a broken calling convention), producing incorrect results.
The text was updated successfully, but these errors were encountered: