[llvm] [LLVM][VPlan] Pick more optimal initial value for VPBlend. (PR #104019)

Florian Hahn via llvm-commits llvm-commits at lists.llvm.org
Thu Aug 22 13:14:26 PDT 2024


================
@@ -996,6 +1006,7 @@ static void simplifyRecipe(VPRecipeBase &R, VPTypeAnalysis &TypeInfo) {
                          m_LogicalAnd(m_VPValue(X1), m_Not(m_VPValue(Y1))))) &&
       X == X1 && Y == Y1) {
     R.getVPSingleValue()->replaceAllUsesWith(X);
+    R.eraseFromParent();
----------------
fhahn wrote:

I don't think this needs to hold up the patch, just want to avoid updating additional places preemptively.

https://github.com/llvm/llvm-project/pull/104019


More information about the llvm-commits mailing list