[PATCH] D155502: [RISCV] Do not use FPR registers for fastcc if zfh/f/d is not specified in the architecture

Alex Bradbury via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Jul 17 13:15:49 PDT 2023


asb accepted this revision.
asb added a comment.
This revision is now accepted and ready to land.

LGTM.



================
Comment at: llvm/lib/Target/RISCV/RISCVISelLowering.cpp:15191
 
+  // Check if there is available GPR before hitting the stack
+  if (LocVT == MVT::f16 || LocVT == MVT::f32 ||
----------------
nit: end with full stop and "an available".


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