[llvm] 583b48b - [JITLink][RISCV] Disable some relaxation tests on no-asserts builds
Job Noorman via llvm-commits
llvm-commits at lists.llvm.org
Wed May 17 04:58:48 PDT 2023
Author: Job Noorman
Date: 2023-05-17T13:58:16+02:00
New Revision: 583b48bdf1b216e7e43df5a64bfc4dbfb0fce05e
URL: https://github.com/llvm/llvm-project/commit/583b48bdf1b216e7e43df5a64bfc4dbfb0fce05e
DIFF: https://github.com/llvm/llvm-project/commit/583b48bdf1b216e7e43df5a64bfc4dbfb0fce05e.diff
LOG: [JITLink][RISCV] Disable some relaxation tests on no-asserts builds
Some tests used `-debug-only` which only exists on builds with asserts
enabled.
Added:
Modified:
llvm/test/ExecutionEngine/JITLink/RISCV/ELF_relax_call.s
llvm/test/ExecutionEngine/JITLink/RISCV/ELF_relax_call_rvc.s
Removed:
################################################################################
diff --git a/llvm/test/ExecutionEngine/JITLink/RISCV/ELF_relax_call.s b/llvm/test/ExecutionEngine/JITLink/RISCV/ELF_relax_call.s
index 8184f5c710457..480fbb8613107 100644
--- a/llvm/test/ExecutionEngine/JITLink/RISCV/ELF_relax_call.s
+++ b/llvm/test/ExecutionEngine/JITLink/RISCV/ELF_relax_call.s
@@ -1,3 +1,4 @@
+# REQUIRES: asserts
# RUN: llvm-mc -triple=riscv32 -mattr=+relax -filetype=obj -o %t.rv32 %s
# RUN: llvm-jitlink -noexec \
# RUN: -slab-allocate 100Kb -slab-address 0x1000 -slab-page-size 4096 \
diff --git a/llvm/test/ExecutionEngine/JITLink/RISCV/ELF_relax_call_rvc.s b/llvm/test/ExecutionEngine/JITLink/RISCV/ELF_relax_call_rvc.s
index 854929969733f..96ec4d40bcca7 100644
--- a/llvm/test/ExecutionEngine/JITLink/RISCV/ELF_relax_call_rvc.s
+++ b/llvm/test/ExecutionEngine/JITLink/RISCV/ELF_relax_call_rvc.s
@@ -1,3 +1,4 @@
+# REQUIRES: asserts
# RUN: llvm-mc -triple=riscv32 -mattr=+relax,+c -filetype=obj -o %t.rv32 %s
# RUN: llvm-jitlink -noexec \
# RUN: -slab-allocate 100Kb -slab-address 0x1000 -slab-page-size 4096 \
More information about the llvm-commits
mailing list