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

Paul Walker via llvm-commits llvm-commits at lists.llvm.org
Thu Aug 22 04:05:08 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();
----------------
paulwalker-arm wrote:

Unless there's a very strong reason I'd rather not wait because tail folded loops are being artificially hampered (as shown via several performance degradations when SVE is enabled) and the unit-tests show only benefits to this PR as it stand today.

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


More information about the llvm-commits mailing list