summaryrefslogtreecommitdiffstats
path: root/llvm/unittests/ExecutionEngine/JIT/JITTest.cpp
diff options
context:
space:
mode:
authorAndrew Trick <atrick@apple.com>2011-08-26 23:39:30 +0000
committerAndrew Trick <atrick@apple.com>2011-08-26 23:39:30 +0000
commit4f3cb540a65573e57b14480681ec0a694a24c6c0 (patch)
treecfd7a46d400ecb0d4b69c8110fe74e3a8bb18c8a /llvm/unittests/ExecutionEngine/JIT/JITTest.cpp
parentb205c029a4e65760d66e0c5baf9e43dab3547dc3 (diff)
downloadbcm5719-llvm-4f3cb540a65573e57b14480681ec0a694a24c6c0.tar.gz
bcm5719-llvm-4f3cb540a65573e57b14480681ec0a694a24c6c0.zip
Excluding ARM JIT tests until someone can fix this compilation path.
llvm-svn: 138676
Diffstat (limited to 'llvm/unittests/ExecutionEngine/JIT/JITTest.cpp')
-rw-r--r--llvm/unittests/ExecutionEngine/JIT/JITTest.cpp9
1 files changed, 9 insertions, 0 deletions
diff --git a/llvm/unittests/ExecutionEngine/JIT/JITTest.cpp b/llvm/unittests/ExecutionEngine/JIT/JITTest.cpp
index 302b18928cb..1810bf24a91 100644
--- a/llvm/unittests/ExecutionEngine/JIT/JITTest.cpp
+++ b/llvm/unittests/ExecutionEngine/JIT/JITTest.cpp
@@ -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
OpenPOWER on IntegriCloud