================
@@ -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)
----------------
PankajDwivedi-25 wrote:

I believe to answer "is SCC live after MI" only need
RS->isRegUsed(AMDGPU::SCC) ?

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

Reply via email to