[llvm] [ORC] skip reoptimization tests on s390x. (PR #112796)

Tom Stellard via llvm-commits llvm-commits at lists.llvm.org
Thu Oct 17 16:09:00 PDT 2024


https://github.com/tstellar created https://github.com/llvm/llvm-project/pull/112796

The test was failing on s390x with this error:

JIT session error: Unsupported target machine architecture in ELF object <main>-jitted-objectbuffer

>From 2f3989f82fc1f54453c033178a3333ddb5525dc0 Mon Sep 17 00:00:00 2001
From: Tom Stellard <tstellar at redhat.com>
Date: Thu, 17 Oct 2024 15:47:30 -0700
Subject: [PATCH] [ORC] skip reoptimization tests on s390x.

---
 llvm/unittests/ExecutionEngine/Orc/ReOptimizeLayerTest.cpp | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/llvm/unittests/ExecutionEngine/Orc/ReOptimizeLayerTest.cpp b/llvm/unittests/ExecutionEngine/Orc/ReOptimizeLayerTest.cpp
index 4f0850022cf1e9..db2b767607b972 100644
--- a/llvm/unittests/ExecutionEngine/Orc/ReOptimizeLayerTest.cpp
+++ b/llvm/unittests/ExecutionEngine/Orc/ReOptimizeLayerTest.cpp
@@ -43,6 +43,10 @@ class ReOptimizeLayerTest : public testing::Test {
     if (Triple.isOSBinFormatCOFF() && Triple.isAArch64())
       GTEST_SKIP();
 
+    // SystemZ is not supported yet.
+    if (Triple.isSystemZ())
+      GTEST_SKIP();
+
     if (Triple.isPPC())
       GTEST_SKIP();
 



More information about the llvm-commits mailing list