[LLVMdev] i256 for x86_64
Ehsan Amiri
ehsanamiri at gmail.com
Tue May 25 17:16:10 PDT 2010
Hello all
I have a very simple handwritten .ll file that can be translated to native
assembly on x86_64 when I use i128. But if I use i256 I get an error. see
the file and the first line of the error below. Any help is appreciated! I
played a little bit with target datalayout but it didn't help.
Best
Ehsan
Input File:
target datalayout =
"e-p:64:64:64-i1:8:8-i8:8:8-i16:16:16-i32:32:32-i64:64:64-f32:32:32-f64:64:64-v64:64:64-v128:128:128-a0:0:64-s0:64:64-f80:128:128"
target triple = "x86_64-unknown-linux-gnu"
define i32 @main(i32 %argc, i8** nocapture %argv) nounwind {
entry:
%0 = tail call i256 (...)* @get_num() nounwind ;comment here
ret i32 0
}
declare i256 @get_num(...)
---------------------------------------------
First line of error:
Call result #2 has unhandled type i64UNREACHABLE executed at
CallingConvLower.cpp:148!
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20100525/5ba9a2bf/attachment.html>
More information about the llvm-dev
mailing list