Excluding ARM JIT tests until someone can fix this compilation path.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@138676 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Andrew Trick 2011-08-26 23:39:30 +00:00
parent f1eab597b2
commit 0005cc7a0a
15 changed files with 23 additions and 0 deletions

View File

@ -1,4 +1,5 @@
; RUN: lli %s > /dev/null
; XFAIL: arm
define i32 @foo(i32 %X, i32 %Y, double %A) {
%cond212 = fcmp une double %A, 1.000000e+00 ; <i1> [#uses=1]

View File

@ -1,4 +1,5 @@
; RUN: lli %s > /dev/null
; XFAIL: arm
define i32 @main() {
call i32 @mylog( i32 4 ) ; <i32>:1 [#uses=0]

View File

@ -1,4 +1,5 @@
; RUN: lli %s > /dev/null
; XFAIL: arm
define i32 @bar(i8* %X) {
; pointer should be 4 byte aligned!

View File

@ -1,6 +1,7 @@
; This testcase should return with an exit code of 1.
;
; RUN: not lli %s
; XFAIL: arm
@test = global i64 0 ; <i64*> [#uses=1]

View File

@ -1,4 +1,5 @@
; RUN: lli %s test
; XFAIL: arm
declare i32 @puts(i8*)

View File

@ -1,4 +1,5 @@
; RUN: lli %s > /dev/null
; XFAIL: arm
; This testcase failed to work because two variable sized allocas confused the
; local register allocator.

View File

@ -1,4 +1,5 @@
; RUN: lli %s > /dev/null
; XFAIL: arm
;
; Regression Test: EnvironmentTest.ll

View File

@ -1,4 +1,5 @@
; RUN: lli %s > /dev/null
; XFAIL: arm
; This testcase exposes a bug in the local register allocator where it runs out
; of registers (due to too many overlapping live ranges), but then attempts to

View File

@ -1,4 +1,5 @@
; RUN: lli %s > /dev/null
; XFAIL: arm
@A = global i32 0 ; <i32*> [#uses=1]

View File

@ -1,4 +1,5 @@
; RUN: lli %s > /dev/null
; XFAIL: arm
@.LC0 = internal global [12 x i8] c"Hello World\00" ; <[12 x i8]*> [#uses=1]

View File

@ -1,4 +1,5 @@
; RUN: lli %s > /dev/null
; XFAIL: arm
@X = global i32 7 ; <i32*> [#uses=0]
@msg = internal global [13 x i8] c"Hello World\0A\00" ; <[13 x i8]*> [#uses=1]

View File

@ -1,4 +1,5 @@
; RUN: lli %s > /dev/null
; XFAIL: arm
define i32 @bar() {
ret i32 0

View File

@ -1,4 +1,5 @@
; RUN: lli -disable-lazy-compilation=false %s
; XFAIL: arm
define i32 @main() nounwind {
entry:

View File

@ -1,4 +1,5 @@
; RUN: lli %s > /dev/null
; XFAIL: arm
define void @test(i8* %P, i16* %P.upgrd.1, i32* %P.upgrd.2, i64* %P.upgrd.3) {
%V = load i8* %P ; <i8> [#uses=1]

View File

@ -284,6 +284,8 @@ int PlusOne(int arg) {
return arg + 1;
}
// ARM tests disabled pending fix for PR10783.
#if !defined(__arm__)
TEST_F(JITTest, FarCallToKnownFunction) {
// x86-64 can only make direct calls to functions within 32 bits of
// the current PC. To call anything farther away, we have to load
@ -461,6 +463,7 @@ TEST_F(JITTest, ModuleDeletion) {
EXPECT_EQ(RJMM->startExceptionTableCalls.size(),
NumTablesDeallocated);
}
#endif // !defined(__arm__)
// ARM and PPC still emit stubs for calls since the target may be too far away
// to call directly. This #if can probably be removed when
@ -608,6 +611,8 @@ extern "C" int32_t JITTest_AvailableExternallyFunction() {
}
namespace {
// ARM tests disabled pending fix for PR10783.
#if !defined(__arm__)
TEST_F(JITTest, AvailableExternallyFunctionIsntCompiled) {
TheJIT->DisableLazyCompilation(true);
LoadAssembly("define available_externally i32 "
@ -627,6 +632,7 @@ TEST_F(JITTest, AvailableExternallyFunctionIsntCompiled) {
EXPECT_EQ(42, func()) << "func should return 42 from the static version,"
<< " not 7 from the IR version.";
}
#endif // !defined(__arm__)
TEST_F(JITTest, EscapedLazyStubStillCallable) {
TheJIT->DisableLazyCompilation(false);
@ -729,6 +735,8 @@ TEST(LazyLoadedJITTest, MaterializableAvailableExternallyFunctionIsntCompiled) {
<< " not 7 from the IR version.";
}
// ARM tests disabled pending fix for PR10783.
#if !defined(__arm__)
TEST(LazyLoadedJITTest, EagerCompiledRecursionThroughGhost) {
LLVMContext Context;
const std::string Bitcode =
@ -763,6 +771,7 @@ TEST(LazyLoadedJITTest, EagerCompiledRecursionThroughGhost) {
(intptr_t)TheJIT->getPointerToFunction(recur1IR));
EXPECT_EQ(3, recur1(4));
}
#endif // !defined(__arm__)
// This code is copied from JITEventListenerTest, but it only runs once for all
// the tests in this directory. Everything seems fine, but that's strange