[PATCH] D36002: AMDGPU: Initial implementation of calls
Stanislav Mekhanoshin via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Fri Jul 28 11:23:12 PDT 2017
rampitec added inline comments.
================
Comment at: lib/Target/AMDGPU/SIFrameLowering.cpp:605
+ .addReg(SPReg)
+ .addImm(Amount * ST.getWavefrontSize());
+ } else if (CalleePopAmount != 0) {
----------------
Which memory is used? I thought it is scratch, in which case it shall be already implicitly multiplied by the wavefront size.
https://reviews.llvm.org/D36002
More information about the llvm-commits
mailing list