[llvm] LV]: consider scalable VF during deciding dead epilogue. (PR #156724)

David Sherwood via llvm-commits llvm-commits at lists.llvm.org
Tue Nov 4 05:10:41 PST 2025


================
@@ -39,58 +34,12 @@ define i64 @vector_loop_with_remaining_iterations(ptr %src, ptr noalias %dst, i3
 ; CHECK-NEXT:    br i1 [[TMP12]], label %[[MIDDLE_BLOCK:.*]], label %[[VECTOR_BODY]], !llvm.loop [[LOOP0:![0-9]+]]
 ; CHECK:       [[MIDDLE_BLOCK]]:
 ; CHECK-NEXT:    [[TMP13:%.*]] = call i64 @llvm.vector.reduce.or.v16i64(<16 x i64> [[TMP11]])
-; CHECK-NEXT:    br label %[[VEC_EPILOG_ITER_CHECK:.*]]
----------------
david-arm wrote:

Nice!!

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


More information about the llvm-commits mailing list