[PATCH] D117318: [RISCV][GlobalISel] Add lowerReturn for calling conv

Craig Topper via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon May 22 11:58:30 PDT 2023


craig.topper added inline comments.


================
Comment at: llvm/lib/Target/RISCV/GISel/RISCVCallLowering.cpp:123
 
-  if (Val != nullptr) {
+  if (!lowerReturnVal(MIRBuilder, Val, VRegs, Ret)) {
     return false;
----------------
Drop curly braces


================
Comment at: llvm/lib/Target/RISCV/GISel/RISCVCallLowering.h:22
 
 class RISCVTargetLowering;
+class MachineInstrBuilder;
----------------
alphabetize the forward declarations


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D117318



More information about the llvm-commits mailing list