summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLang Hames <lhames@gmail.com>2023-04-20 21:47:49 -0700
committerTom Stellard <tstellar@redhat.com>2023-05-02 09:01:39 -0700
commit753307debc041f4ab39b3b4d7aedd5d0ee8cb952 (patch)
treebb19e6360b70560a11a6728eb92a70c0efad3427
parent93e555fbd794755fe113ef5351852728d33b6084 (diff)
downloadllvm-753307debc041f4ab39b3b4d7aedd5d0ee8cb952.tar.gz
[RuntimeDyld] Disable some ppc64 tests on 32-bit architectures.
These tests have been failing on 32-bit machines. https://github.com/llvm/llvm-project/issues/62184. (cherry picked from commit 2cd2fb4376187d4939e1eb7f18ba847d3b1668e3)
-rw-r--r--llvm/test/ExecutionEngine/RuntimeDyld/PowerPC/ppc64_elf.s7
-rw-r--r--llvm/test/ExecutionEngine/RuntimeDyld/PowerPC/ppc64_reloc.s8
2 files changed, 15 insertions, 0 deletions
diff --git a/llvm/test/ExecutionEngine/RuntimeDyld/PowerPC/ppc64_elf.s b/llvm/test/ExecutionEngine/RuntimeDyld/PowerPC/ppc64_elf.s
index 852e75bb0eea..d4f47d9f0df6 100644
--- a/llvm/test/ExecutionEngine/RuntimeDyld/PowerPC/ppc64_elf.s
+++ b/llvm/test/ExecutionEngine/RuntimeDyld/PowerPC/ppc64_elf.s
@@ -1,3 +1,10 @@
+# This test has been observed to fail on 32-bit architectures (see e.g.
+# https://github.com/llvm/llvm-project/issues/62184). Since we're aiming to
+# bring up JITLink support for ppc64{le} anyway (see
+# https://github.com/llvm/llvm-project/issues/62253) I've opted to just disable
+# it on 32-bit architectures for now.
+# REQUIRES: llvm-64-bits
+#
# RUN: rm -rf %t && mkdir -p %t
# RUN: llvm-mc -triple=powerpc64le-unknown-linux-gnu -filetype=obj -o %t/ppc64_elf.o %s
# RUN: llvm-mc -triple=powerpc64le-unknown-linux-gnu -filetype=obj -o %t/ppc64_elf_module_b.o %S/Inputs/ppc64_elf_module_b.s
diff --git a/llvm/test/ExecutionEngine/RuntimeDyld/PowerPC/ppc64_reloc.s b/llvm/test/ExecutionEngine/RuntimeDyld/PowerPC/ppc64_reloc.s
index 9a859ead22c7..999b8041335e 100644
--- a/llvm/test/ExecutionEngine/RuntimeDyld/PowerPC/ppc64_reloc.s
+++ b/llvm/test/ExecutionEngine/RuntimeDyld/PowerPC/ppc64_reloc.s
@@ -1,4 +1,12 @@
# test for little endian
+#
+# This test has been observed to fail on 32-bit architectures (see e.g.
+# https://github.com/llvm/llvm-project/issues/62184). Since we're aiming to
+# bring up JITLink support for ppc64{le} anyway (see
+# https://github.com/llvm/llvm-project/issues/62253) I've opted to just disable
+# it on 32-bit architectures for now.
+# REQUIRES: llvm-64-bits
+#
# RUN: rm -rf %t && mkdir -p %t
# RUN: llvm-mc -triple=powerpc64le-unknown-linux-gnu -filetype=obj -o %t/ppc64_reloc.o %s
# RUN: llvm-mc -triple=powerpc64le-unknown-linux-gnu -filetype=obj -o %t/ppc64_elf_module_b.o %S/Inputs/ppc64_elf_module_b.s