[llvm] e5f7e73 - [ORC] Skip reoptimization test on COFF-ARM64.

Sunho Kim via llvm-commits llvm-commits at lists.llvm.org
Sun Oct 13 10:57:09 PDT 2024


Author: Sunho Kim
Date: 2024-10-14T02:57:02+09:00
New Revision: e5f7e73d90dd8ea7b1fa0e4e77ae11eabf398da9

URL: https://github.com/llvm/llvm-project/commit/e5f7e73d90dd8ea7b1fa0e4e77ae11eabf398da9
DIFF: https://github.com/llvm/llvm-project/commit/e5f7e73d90dd8ea7b1fa0e4e77ae11eabf398da9.diff

LOG: [ORC] Skip reoptimization test on COFF-ARM64.

Try to skip tests to prevent build bot failure:
https://lab.llvm.org/buildbot/#/builders/161/builds/2692

Added: 
    

Modified: 
    llvm/unittests/ExecutionEngine/Orc/JITLinkRedirectionManagerTest.cpp
    llvm/unittests/ExecutionEngine/Orc/ReOptimizeLayerTest.cpp

Removed: 
    


################################################################################
diff  --git a/llvm/unittests/ExecutionEngine/Orc/JITLinkRedirectionManagerTest.cpp b/llvm/unittests/ExecutionEngine/Orc/JITLinkRedirectionManagerTest.cpp
index 6d6ebd97554b63..3e80da6e981c5b 100644
--- a/llvm/unittests/ExecutionEngine/Orc/JITLinkRedirectionManagerTest.cpp
+++ b/llvm/unittests/ExecutionEngine/Orc/JITLinkRedirectionManagerTest.cpp
@@ -38,6 +38,11 @@ class JITLinkRedirectionManagerTest : public testing::Test {
       GTEST_SKIP();
     }
 
+    // COFF-ARM64 is not supported yet
+    auto Triple = JTMB->getTargetTriple();
+    if (Triple.isOSBinFormatCOFF() && Triple.isAArch64())
+      GTEST_SKIP();
+
     ES = std::make_unique<ExecutionSession>(
         std::make_unique<UnsupportedExecutorProcessControl>(
             nullptr, nullptr, JTMB->getTargetTriple().getTriple()));

diff  --git a/llvm/unittests/ExecutionEngine/Orc/ReOptimizeLayerTest.cpp b/llvm/unittests/ExecutionEngine/Orc/ReOptimizeLayerTest.cpp
index 6bbb4c474a38da..2dcf1d1593a714 100644
--- a/llvm/unittests/ExecutionEngine/Orc/ReOptimizeLayerTest.cpp
+++ b/llvm/unittests/ExecutionEngine/Orc/ReOptimizeLayerTest.cpp
@@ -38,6 +38,11 @@ class ReOptimizeLayerTest : public testing::Test {
       GTEST_SKIP();
     }
 
+    // COFF-ARM64 is not supported yet
+    auto Triple = JTMB->getTargetTriple();
+    if (Triple.isOSBinFormatCOFF() && Triple.isAArch64())
+      GTEST_SKIP();
+
     auto EPC = SelfExecutorProcessControl::Create();
     if (!EPC) {
       consumeError(EPC.takeError());


        


More information about the llvm-commits mailing list