================
@@ -425,29 +414,41 @@ bool GCNRewritePartialRegUses::rewriteReg(Register Reg) 
const {
     return false;
 
   for (MachineOperand &MO : Range) {
----------------
vpykhtin wrote:

Yes, it avoids any processing for unsuitable registers. Replaced the loop with 
any_of.

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

Reply via email to