[PATCH] D155502: [RISCV] Do not use F registers if zvfh/f/d is not specified in the architecture

Craig Topper via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Jul 17 11:42:27 PDT 2023


craig.topper added inline comments.


================
Comment at: llvm/test/CodeGen/RISCV/fastcc-without-f-reg.ll:7
+
+define dso_local float @caller(float noundef %x) local_unnamed_addr {
+; RV32-LABEL: caller:
----------------
Drop dso_local and local_unnamed_addr. but add `nowind`


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D155502



More information about the llvm-commits mailing list