================
@@ -3641,8 +3659,9 @@ bool
SIRegisterInfo::eliminateFrameIndex(MachineBasicBlock::iterator MI,
if (Offset) {
int64_t ScaledOffset = -Offset * ST.getWavefrontSize();
- bool SCCLiveAfterMI = MI->definesRegister(AMDGPU::SCC, this) &&
- !MI->registerDefIsDead(AMDGPU::SCC, this);
+ bool SCCLiveAfterMI = MI->definesRegister(AMDGPU::SCC, this)
----------------
saxlungs wrote:
Good call, I was able to simplify and hoist it, simplified the logic a good bit
https://github.com/llvm/llvm-project/pull/224080
_______________________________________________
llvm-branch-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits