[PATCH] D136264: [libunwind][RISCV] Support reading of VLENB CSR register

Fangrui Song via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Dec 5 12:30:29 PST 2022


MaskRay added inline comments.


================
Comment at: libunwind/test/unwind_scalable_vectors.pass.cpp:26
+__attribute__((naked)) static void foo() {
+#if defined(__riscv)
+  __asm__(".cfi_startproc\n"
----------------
Since we use `// REQUIRES: linux && target={{riscv64-.+}}`, the `#if` is unneeded.


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

https://reviews.llvm.org/D136264



More information about the llvm-commits mailing list