[PATCH] D94156: AMDGPU/GlobalISel: Enable sret demotion

Matt Arsenault via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Jan 6 08:49:20 PST 2021


arsenm added a comment.

I think we're missing a test that needs sret inserted and also has additional arguments



================
Comment at: llvm/lib/Target/AMDGPU/AMDGPUCallLowering.h:45
+                      SmallVectorImpl<BaseArgInfo> &Outs, bool IsVarArg,
+                      LLVMContext &Context) const override;
+
----------------
You can get the context through the MachineFunction, so you can avoid this argument


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D94156



More information about the llvm-commits mailing list