[llvm] ec4d061 - [JITLink][RISCV] Fix tests after D154958

Job Noorman via llvm-commits llvm-commits at lists.llvm.org
Fri Jul 28 02:13:13 PDT 2023


Author: Job Noorman
Date: 2023-07-28T11:13:03+02:00
New Revision: ec4d061671cf03eab5e915942e3c6f60ddc2729d

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

LOG: [JITLink][RISCV] Fix tests after D154958

Added: 
    

Modified: 
    llvm/test/ExecutionEngine/JITLink/RISCV/ELF_branch.s

Removed: 
    


################################################################################
diff  --git a/llvm/test/ExecutionEngine/JITLink/RISCV/ELF_branch.s b/llvm/test/ExecutionEngine/JITLink/RISCV/ELF_branch.s
index 5a5a9e8336bf1f..29d3c5906d2007 100644
--- a/llvm/test/ExecutionEngine/JITLink/RISCV/ELF_branch.s
+++ b/llvm/test/ExecutionEngine/JITLink/RISCV/ELF_branch.s
@@ -1,7 +1,7 @@
 # RUN: rm -rf %t && mkdir -p %t
-# RUN: llvm-mc -triple=riscv64 -filetype=obj \
+# RUN: llvm-mc -triple=riscv64 -filetype=obj -riscv-asm-relax-branches=0 \
 # RUN:     -o %t/elf_riscv64_branch.o %s
-# RUN: llvm-mc -triple=riscv32 -filetype=obj \
+# RUN: llvm-mc -triple=riscv32 -filetype=obj -riscv-asm-relax-branches=0 \
 # RUN:     -o %t/elf_riscv32_branch.o %s
 # RUN: llvm-jitlink -noexec \
 # RUN:     -slab-allocate 100Kb -slab-address 0xfff00ff4 -slab-page-size 4096 \


        


More information about the llvm-commits mailing list