================ @@ -163,7 +163,8 @@ class CopyTracker { /// Clobber a single register, removing it from the tracker's copy maps. void clobberRegister(MCRegister Reg, const TargetRegisterInfo &TRI, - const TargetInstrInfo &TII, bool UseCopyInstr) { + const TargetInstrInfo &TII, bool UseCopyInstr, + bool CleanUp = false) { ---------------- qcolombet wrote:
Could you add a comment for the `CleanUp` argument? In particular, we need to make it clear why and when this argument needs to be set to true. Without any explanation, I would expect that we need to actually set it to true all the time. https://github.com/llvm/llvm-project/pull/70778 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits