================
@@ -1941,6 +1942,7 @@ void RegisterCoalescer::updateRegDefsUses(Register 
SrcReg, Register DstReg,
       if (SubIdx && MO.isDef()) {
         MO.setIsUndef(!Reads);
         FullDef = false;
+        DeadDef = MO.isDead();
----------------
arsenm wrote:

I don't think dead flags are required to be accurate, it might be safer to 
check if LiveIntervals thinks it's really daed 

https://github.com/llvm/llvm-project/pull/134408
_______________________________________________
llvm-branch-commits mailing list
llvm-branch-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits

Reply via email to