[PATCH] D155953: [RISCV][MC] Add CLI option to disable branch relaxation

Fangrui Song via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Jul 27 21:41:10 PDT 2023


MaskRay added inline comments.


================
Comment at: llvm/test/MC/RISCV/long-jump-disable-relax.s:1
+# RUN: split-file %s %t
+# RUN: llvm-mc -filetype=obj -triple=riscv64 -mattr=+c \
----------------
Give a file-level comment?


================
Comment at: llvm/test/MC/RISCV/long-jump-disable-relax.s:44
+1:
+  c.j 1f # CHECK: :[[@LINE]]:3: error: fixup value out of range
+  .skip (1 << 11)
----------------
`[[@LINE]]` is deprecated lit syntax. Use `[[#@LINE]]` for new tests.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D155953/new/

https://reviews.llvm.org/D155953



More information about the llvm-commits mailing list