-
Notifications
You must be signed in to change notification settings - Fork 13.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
llc crashes with "UNREACHABLE executed" message #14269
Comments
Duncan Sands reported on mailing list: .... Call result #3 has unhandled type i32 |
I think the basic problem is that 128 bit multiplication is not supported on 32 |
rdar://12409066 |
What is the status of this bug? I need to know if it's a real "release blocker" or not. :) |
*** Bug #8751 has been marked as a duplicate of this bug. *** |
*** Bug llvm/llvm-bugzilla-archive#14469 has been marked as a duplicate of this bug. *** |
This was fixed years ago - added a test case at rL356786 |
mentioned in issue llvm/llvm-bugzilla-archive#14469 |
mentioned in issue #8751 |
Extended Description
i have a simple IR file like below:
;;;;;;;;;;;;;
; ModuleID = 'gg.bc'
@aaa = external global i128
@bbb = external global i128
define void @depasta() nounwind {
"0x0":
%0 = load i128* @bbb
%1 = and i128 %0, 4294967295
%2 = shl i128 %0, 96
%3 = mul i128 %1, 18446744078004518913
%4 = add i128 %3, %2
store i128 %4, i128* @aaa
ret void
}
;;;;;;;;;
i tried to compile this IR file to bitcode file (with llvm-as), then
compile BC file to native code (with llc).
however, llc crashes like below:
C:>llvm-as gg.ll
C:>llc -filetype=obj gg.bc
UNREACHABLE executed!
This application has requested the Runtime to terminate it in an unusual way.
Please contact the application's support team for more information.
this looks like a bug, doesn't it? any idea why?
this is LLVM 3.1, on Windows 32bit.
The text was updated successfully, but these errors were encountered: