Yes I use 2.6 as my OS seems to be too old for 2.7.<br><br>Are there any restrictions on integer types for x86_64?<br><br><br><br><br><br><br><br><br><div class="gmail_quote">On Tue, May 25, 2010 at 5:25 PM, Chris Lattner <span dir="ltr"><<a href="mailto:clattner@apple.com">clattner@apple.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;"><div class="im"><br>
On May 25, 2010, at 5:16 PM, Ehsan Amiri wrote:<br>
<br>
> Hello all<br>
><br>
> 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.<br>

<br>
</div>This works for me on mainline.  Are you using an old version of llvm?<br>
<font color="#888888"><br>
-Chris<br>
</font><div class="im"><br>
<br>
><br>
> Best<br>
> Ehsan<br>
><br>
> Input File:<br>
><br>
> 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"<br>
> target triple = "x86_64-unknown-linux-gnu"<br>
><br>
> define i32 @main(i32 %argc, i8** nocapture %argv) nounwind {<br>
> entry:<br>
><br>
>   %0 = tail call i256 (...)* @get_num() nounwind ;comment here<br>
>   ret i32 0<br>
> }<br>
><br>
> declare i256 @get_num(...)<br>
><br>
> ---------------------------------------------<br>
><br>
> First line of error:<br>
><br>
> Call result #2 has unhandled type i64UNREACHABLE executed at CallingConvLower.cpp:148!<br>
</div><div><div></div><div class="h5">> _______________________________________________<br>
> LLVM Developers mailing list<br>
> <a href="mailto:LLVMdev@cs.uiuc.edu">LLVMdev@cs.uiuc.edu</a>         <a href="http://llvm.cs.uiuc.edu" target="_blank">http://llvm.cs.uiuc.edu</a><br>
> <a href="http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev" target="_blank">http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev</a><br>
<br>
</div></div></blockquote></div><br>