From 89ddc1b326cd10a8c8b3c49aba8feb6ae0e3d09a Mon Sep 17 00:00:00 2001 From: Lang Hames Date: Tue, 31 Mar 2015 18:19:25 +0000 Subject: [PATCH] [Orc][MCJIT] Remove the small code model regression tests. These regression tests are supposed to test small code model support, but have been XFAIL'd because we don't have an in-tree memory manager that can guarantee a small-code-model compatible memory layout. Unfortunately, they can occasionally pass if they get lucky with memory allocation, causing unexpected passes on the bots. That's not very helpful. I'm going to remove these until we have the infrastructure (small-code-model compatible memory manager) to run them properly. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@233722 91177308-0d34-0410-b5e6-96231b3b80d8 --- test/ExecutionEngine/MCJIT/hello-sm-pic.ll | 12 ------------ test/ExecutionEngine/OrcMCJIT/hello-sm-pic.ll | 12 ------------ 2 files changed, 24 deletions(-) delete mode 100644 test/ExecutionEngine/MCJIT/hello-sm-pic.ll delete mode 100644 test/ExecutionEngine/OrcMCJIT/hello-sm-pic.ll diff --git a/test/ExecutionEngine/MCJIT/hello-sm-pic.ll b/test/ExecutionEngine/MCJIT/hello-sm-pic.ll deleted file mode 100644 index 4843f4e247d..00000000000 --- a/test/ExecutionEngine/MCJIT/hello-sm-pic.ll +++ /dev/null @@ -1,12 +0,0 @@ -; RUN: %lli -relocation-model=pic -code-model=small %s > /dev/null -; XFAIL: mips, i686, i386, darwin, aarch64, arm - -@.LC0 = internal global [12 x i8] c"Hello World\00" ; <[12 x i8]*> [#uses=1] - -declare i32 @puts(i8*) - -define i32 @main() { - %reg210 = call i32 @puts( i8* getelementptr ([12 x i8], [12 x i8]* @.LC0, i64 0, i64 0) ) ; [#uses=0] - ret i32 0 -} - diff --git a/test/ExecutionEngine/OrcMCJIT/hello-sm-pic.ll b/test/ExecutionEngine/OrcMCJIT/hello-sm-pic.ll deleted file mode 100644 index 59b47afadb1..00000000000 --- a/test/ExecutionEngine/OrcMCJIT/hello-sm-pic.ll +++ /dev/null @@ -1,12 +0,0 @@ -; RUN: %lli -jit-kind=orc-mcjit -relocation-model=pic -code-model=small %s > /dev/null -; XFAIL: mips, i686, i386, darwin, aarch64, arm - -@.LC0 = internal global [12 x i8] c"Hello World\00" ; <[12 x i8]*> [#uses=1] - -declare i32 @puts(i8*) - -define i32 @main() { - %reg210 = call i32 @puts( i8* getelementptr ([12 x i8], [12 x i8]* @.LC0, i64 0, i64 0) ) ; [#uses=0] - ret i32 0 -} - -- 2.34.1