[llvm] [ORC] skip reoptimization tests on i386 (PR #114351)

Tom Stellard via llvm-commits llvm-commits at lists.llvm.org
Wed Oct 30 21:05:34 PDT 2024


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

This test currently segfaults on i386-unknown-linux-gnu builds.

>From 6113158686260c93c769374440978d5cc890fd87 Mon Sep 17 00:00:00 2001
From: Tom Stellard <tstellar at redhat.com>
Date: Thu, 31 Oct 2024 01:16:38 +0000
Subject: [PATCH] [ORC] skip reoptimization tests on i386

This test currently segfaults on i386-unknown-linux-gnu builds.
---
 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 db2b767607b972..2b6cd4984c8de1 100644
--- a/llvm/unittests/ExecutionEngine/Orc/ReOptimizeLayerTest.cpp
+++ b/llvm/unittests/ExecutionEngine/Orc/ReOptimizeLayerTest.cpp
@@ -47,6 +47,10 @@ class ReOptimizeLayerTest : public testing::Test {
     if (Triple.isSystemZ())
       GTEST_SKIP();
 
+    // 32-bit X86 is not supported yet.
+    if (Triple.isX86() && Triple.isArch32Bit())
+      GTEST_SKIP();
+
     if (Triple.isPPC())
       GTEST_SKIP();
 



More information about the llvm-commits mailing list