================
@@ -310,6 +310,8 @@ VPPredicator::computeBlendEdges(VPPhi *Phi) {
     }
   }
 
+  Edges.remove_if([](auto X) { return match(X.second, m_Poison()); });
----------------
david-arm wrote:

nit: Would `const auto &X` be faster here to avoid the copy?

https://github.com/llvm/llvm-project/pull/237121
_______________________________________________
llvm-branch-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits

Reply via email to