[llvm] e2d774a - [AIX][Test][ORC] Skip unsupported ORC C API tests on AIX
Hubert Tong via llvm-commits
llvm-commits at lists.llvm.org
Thu May 6 09:37:03 PDT 2021
Author: Hubert Tong
Date: 2021-05-06T12:36:56-04:00
New Revision: e2d774a3dbbbbff21531289889f6906b22f04cfe
URL: https://github.com/llvm/llvm-project/commit/e2d774a3dbbbbff21531289889f6906b22f04cfe
DIFF: https://github.com/llvm/llvm-project/commit/e2d774a3dbbbbff21531289889f6906b22f04cfe.diff
LOG: [AIX][Test][ORC] Skip unsupported ORC C API tests on AIX
As mentioned before in D78813, currently the XCOFF backend does not
support writing 64-bit object files, which the ORC JIT tests will try to
exercise if we are on AIX. This patch disables the tests on AIX for now.
This is consistent with what's been done, for example, regarding
`armv7`.
Reviewed By: lhames
Differential Revision: https://reviews.llvm.org/D101971
Added:
Modified:
llvm/unittests/ExecutionEngine/Orc/OrcCAPITest.cpp
Removed:
################################################################################
diff --git a/llvm/unittests/ExecutionEngine/Orc/OrcCAPITest.cpp b/llvm/unittests/ExecutionEngine/Orc/OrcCAPITest.cpp
index 0d1e1b94f126..f94b954b1010 100644
--- a/llvm/unittests/ExecutionEngine/Orc/OrcCAPITest.cpp
+++ b/llvm/unittests/ExecutionEngine/Orc/OrcCAPITest.cpp
@@ -116,6 +116,9 @@ class OrcCAPITestBase : public testing::Test {
// some may just be failing due to bugs in this testcase.
if (Triple.startswith("armv7") || Triple.startswith("armv8l"))
return false;
+ llvm::Triple T(Triple);
+ if (T.isOSAIX() && T.isPPC64())
+ return false;
return true;
}
More information about the llvm-commits
mailing list