[PATCH] D57166: AMDGPU/GlobalISel: Implement call lowering for shaders returning values
Tom Stellard via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed Apr 3 20:43:46 PDT 2019
tstellar marked 2 inline comments as done.
tstellar added inline comments.
================
Comment at: lib/Target/AMDGPU/AMDGPUCallLowering.cpp:83
+ SIMachineFunctionInfo *MFI = MF.getInfo<SIMachineFunctionInfo>();
+ MFI->setIfReturnsVoid(false);
+
----------------
arsenm wrote:
> Why is this set here unconditionally?
This is now set based on Val being non/non-null.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D57166/new/
https://reviews.llvm.org/D57166
More information about the llvm-commits
mailing list