<div dir="ltr">Hi Joerg,<div><br></div><div>It may be worth filing a bug for this, since we still want small-code-model to be supported in the JIT. To make this testable we'd need to add a mode to LLI that guarantees allocations compatible with small code model.</div><div><br></div><div>Cheers,</div><div>Lang.</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Nov 25, 2014 at 9:14 AM, Joerg Sonnenberger <span dir="ltr"><<a href="mailto:joerg@bec.de" target="_blank">joerg@bec.de</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Author: joerg<br>
Date: Tue Nov 25 11:14:22 2014<br>
New Revision: 222767<br>
<br>
URL: <a href="http://llvm.org/viewvc/llvm-project?rev=222767&view=rev" target="_blank">http://llvm.org/viewvc/llvm-project?rev=222767&view=rev</a><br>
Log:<br>
Small model and JIT generally don't go well with each other.<br>
On LP64 platforms, it will work or not depending on the choosen memory<br>
layout, so neither PASS nor XFAIL is appropiate.<br>
As UNSUPPORTED as per-test target doesn't exist (yet), remove the test<br>
instead to unbreak the builds.<br>
<br>
Removed:<br>
    llvm/trunk/test/ExecutionEngine/MCJIT/non-extern-addend-smallcodemodel.ll<br>
<br>
Removed: llvm/trunk/test/ExecutionEngine/MCJIT/non-extern-addend-smallcodemodel.ll<br>
URL: <a href="http://llvm.org/viewvc/llvm-project/llvm/trunk/test/ExecutionEngine/MCJIT/non-extern-addend-smallcodemodel.ll?rev=222766&view=auto" target="_blank">http://llvm.org/viewvc/llvm-project/llvm/trunk/test/ExecutionEngine/MCJIT/non-extern-addend-smallcodemodel.ll?rev=222766&view=auto</a><br>
==============================================================================<br>
--- llvm/trunk/test/ExecutionEngine/MCJIT/non-extern-addend-smallcodemodel.ll (original)<br>
+++ llvm/trunk/test/ExecutionEngine/MCJIT/non-extern-addend-smallcodemodel.ll (removed)<br>
@@ -1,26 +0,0 @@<br>
-; RUN: %lli -code-model=small %s > /dev/null<br>
-; XFAIL: mips<br>
-; XFAIL: x86_64<br>
-;<br>
-; FIXME: Merge this file with non-extern-addend.ll once AArch64 supports PC-rel<br>
-;        relocations in ELF. (The code is identical, only the run line differs).<br>
-;<br>
-define i32 @foo(i32 %x, i32 %y, double %d) {<br>
-entry:<br>
-  %d.int64 = bitcast double %d to i64<br>
-  %d.top64 = lshr i64 %d.int64, 32<br>
-  %d.top   = trunc i64 %d.top64 to i32<br>
-  %d.bottom = trunc i64 %d.int64 to i32<br>
-  %topCorrect = icmp eq i32 %d.top, 3735928559<br>
-  %bottomCorrect = icmp eq i32 %d.bottom, 4277009102<br>
-  %right = and i1 %topCorrect, %bottomCorrect<br>
-  %nRight = xor i1 %right, true<br>
-  %retVal = zext i1 %nRight to i32<br>
-  ret i32 %retVal<br>
-}<br>
-<br>
-define i32 @main() {<br>
-entry:<br>
-  %call = call i32 @foo(i32 0, i32 1, double 0xDEADBEEFFEEDFACE)<br>
-  ret i32 %call<br>
-}<br>
<br>
<br>
_______________________________________________<br>
llvm-commits mailing list<br>
<a href="mailto:llvm-commits@cs.uiuc.edu">llvm-commits@cs.uiuc.edu</a><br>
<a href="http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits" target="_blank">http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits</a><br>
</blockquote></div><br></div>