[PATCH] D96336: [AMDGPU] Save VGPR of whole wave when spilling
Matt Arsenault via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Thu Mar 11 18:10:54 PST 2021
arsenm added inline comments.
================
Comment at: llvm/lib/Target/AMDGPU/SIRegisterInfo.cpp:1337-1338
+ RegScavenger TmpRS;
+ TmpRS.enterBasicBlock(*MBB);
+ TmpRS.forward(MI);
+ bool TmpVGPRLive = TmpRS.isRegUsed(TmpVGPR);
----------------
Still have a temporary scavenger here. Also should use the reverse iteration method
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D96336/new/
https://reviews.llvm.org/D96336
More information about the llvm-commits
mailing list