[llvm] [GISel][RISCV]Implement indirect parameter passing (PR #95429)

Gábor Spaits via llvm-commits llvm-commits at lists.llvm.org
Mon Jun 17 09:44:39 PDT 2024


================
@@ -167,8 +161,9 @@ bool CallLowering::lowerCall(MachineIRBuilder &MIRBuilder, const CallBase &CB,
     // callee must be in the same TU and therefore we can direct-call it without
     // worrying about it being out of range.
     Info.Callee = MachineOperand::CreateGA(cast<GlobalValue>(CalleeV), 0);
-  } else
+  } else {
----------------
spaits wrote:

The formatting of that code is incorrect because "if one of the if blocks has braces, all in the chain must have". I don't know why did I fix that in this PR I did not pay enough attention :). Maybe I should undo this, because it pollutes the git history.

https://github.com/llvm/llvm-project/pull/95429


More information about the llvm-commits mailing list