[PATCH] D81358: [PowerPC] Implement probing for dynamic stack allocation
Kai Luo via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue Jun 23 19:27:02 PDT 2020
lkail marked an inline comment as done.
lkail added inline comments.
================
Comment at: llvm/lib/Target/PowerPC/PPCISelLowering.cpp:11696
+ Register CmpResult = MRI.createVirtualRegister(&PPC::CRRCRegClass);
+ BuildMI(TestMBB, DL, TII->get(isPPC64 ? PPC::CMPD : PPC::CMPW), CmpResult)
+ .addReg(SPReg)
----------------
steven.zhang wrote:
> Can we use the CTR loop ?
Yes, we can, but it looks not worth the effort, since the trip count can be zero, we have to add additional code to check this case.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D81358/new/
https://reviews.llvm.org/D81358
More information about the llvm-commits
mailing list