[PATCH] D35345: AMDGPU: Figure out private memory regs after lowering

Stanislav Mekhanoshin via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Jul 13 00:37:28 PDT 2017


rampitec added inline comments.


================
Comment at: lib/Target/AMDGPU/SIISelLowering.cpp:5720
+// the function is legalized do we know all of the non-spill stack objects or if
+// calls are present.
+void SITargetLowering::finalizeLowering(MachineFunction &MF) const {
----------------
If we are lowering starting from the leafs cannot we check if calls actually require an SP? Do not we have a CG?


https://reviews.llvm.org/D35345





More information about the llvm-commits mailing list