[llvm] [VPlan] Make simplifyRecipe more like InstCombine (PR #212968)

Luke Lau via llvm-commits llvm-commits at lists.llvm.org
Thu Jul 30 03:06:27 PDT 2026


================
@@ -1136,7 +1135,6 @@ define i32 @test_foldable_reduction(i64 %N) {
 ; CHECK-NEXT:    br i1 [[TMP6]], label %[[VEC_EPILOG_MIDDLE_BLOCK:.*]], label %[[VEC_EPILOG_VECTOR_BODY]], !llvm.loop [[LOOP33:![0-9]+]]
 ; CHECK:       [[VEC_EPILOG_MIDDLE_BLOCK]]:
 ; CHECK-NEXT:    [[TMP7:%.*]] = call i32 @llvm.vector.reduce.or.v4i32(<4 x i32> [[VEC_PHI6]])
-; CHECK-NEXT:    [[TMP8:%.*]] = call i1 @llvm.vector.reduce.or.v4i1(<4 x i1> splat (i1 true))
----------------
lukel97 wrote:

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

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


More information about the llvm-commits mailing list