[llvm] 66d92d4 - [LLVM][Examples] Disable broken JIT + plugin tests (AIX, Sparc)

Alexis Engelke via llvm-commits llvm-commits at lists.llvm.org
Sun Dec 14 03:01:05 PST 2025


Author: Alexis Engelke
Date: 2025-12-14T11:00:32Z
New Revision: 66d92d4cfb7617d5bbc472bc950a24ffa94eae65

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

LOG: [LLVM][Examples] Disable broken JIT + plugin tests (AIX, Sparc)

Plugins appear to be broken on AIX, CI fails. There is logic in
CMakeLists for plugins+AIX, but it was never tested before...
Note: when plugins work, also enable tests in Examples/IRTransforms.

There's no Sparc support for JIT tests, so disable the JIT tests in the
examples (copied from ExecutionEngine/lit.local.cfg).

Added: 
    

Modified: 
    llvm/test/Examples/Kaleidoscope/lit.local.cfg
    llvm/test/Examples/OrcV2Examples/lit.local.cfg
    llvm/test/Feature/load_extension.ll

Removed: 
    


################################################################################
diff  --git a/llvm/test/Examples/Kaleidoscope/lit.local.cfg b/llvm/test/Examples/Kaleidoscope/lit.local.cfg
index f96223fa865c5..138890af58ee7 100644
--- a/llvm/test/Examples/Kaleidoscope/lit.local.cfg
+++ b/llvm/test/Examples/Kaleidoscope/lit.local.cfg
@@ -2,3 +2,10 @@
 # RISC-V fails due to unresolved softfp functions.
 if not "X86" in config.root.targets or "riscv" in config.target_triple:
     config.unsupported = True
+
+if config.root.native_target in ['Sparc', 'Hexagon']:
+    config.unsupported = True
+
+# ExecutionEngine tests are not expected to pass in a cross-compilation setup.
+if "native" not in config.available_features:
+    config.unsupported = True

diff  --git a/llvm/test/Examples/OrcV2Examples/lit.local.cfg b/llvm/test/Examples/OrcV2Examples/lit.local.cfg
index 550f0b64dae6c..8f9905e6b7375 100644
--- a/llvm/test/Examples/OrcV2Examples/lit.local.cfg
+++ b/llvm/test/Examples/OrcV2Examples/lit.local.cfg
@@ -1,3 +1,10 @@
 # TODO: investigate
 if not "X86" in config.root.targets:
     config.unsupported = True
+
+if config.root.native_target in ['Sparc', 'Hexagon']:
+    config.unsupported = True
+
+# ExecutionEngine tests are not expected to pass in a cross-compilation setup.
+if "native" not in config.available_features:
+    config.unsupported = True

diff  --git a/llvm/test/Feature/load_extension.ll b/llvm/test/Feature/load_extension.ll
index dd47f2abc5417..6f99e99cb6345 100644
--- a/llvm/test/Feature/load_extension.ll
+++ b/llvm/test/Feature/load_extension.ll
@@ -6,6 +6,8 @@
 ; RUN: llvm-lto2 run %t.o %loadbye %loadnewpmbye -opt-pipeline="goodbye" -wave-goodbye -o %t -r %t.o,somefunk,plx -r %t.o,junk,plx 2>&1 | FileCheck %s
 ; REQUIRES: plugins, examples
 ; UNSUPPORTED: target={{.*windows.*}}
+; Plugins are currently broken on AIX, at least in the CI.
+; XFAIL: target={{.*}}-aix{{.*}}
 ; CHECK: Bye
 
 target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128"


        


More information about the llvm-commits mailing list