[llvm] [RISCV] Add symbol parsing support for XAndesPerf branch instructions (PR #137748)

Fangrui Song via llvm-commits llvm-commits at lists.llvm.org
Wed Jun 18 23:02:01 PDT 2025


================
@@ -0,0 +1,33 @@
+# RUN: llvm-mc -triple riscv32 -mattr=+xandesperf -M no-aliases < %s -show-encoding \
----------------
MaskRay wrote:

The test can be merged into -relocation.s. 
Please drop -show-encoding and remove CHECK-FIXUP check lines for fixup/relocations. They are not useful.

I have noticed that this was an anti-pattern within MC/RISCV and cleaned up many tests.

https://github.com/llvm/llvm-project/pull/137748


More information about the llvm-commits mailing list