[llvm] [feature][riscv] handle target address calculation in llvm-objdump disassembly for riscv (PR #144620)
James Henderson via llvm-commits
llvm-commits at lists.llvm.org
Fri Jul 4 00:00:19 PDT 2025
================
@@ -0,0 +1,32 @@
+# RUN: llvm-mc -riscv-add-build-attributes -triple=riscv32 -filetype=obj -mattr=+zclsd,+zilsd %s -o %t
----------------
jh7370 wrote:
Yeah, that's not a useful test name. I don't think anybody looking at the test name is going to understand what its purpose actually is.
How about simply `riscv[32|64]-disassembly-address-resolution.s`? You can put a bit more detail into the test in the form of comments explaining why you picked the instructions that you did (you've done some of that already, but a lengthier explanation like in your second bullet would not go amiss).
https://github.com/llvm/llvm-project/pull/144620
More information about the llvm-commits
mailing list