[llvm] [SLP]Initial support for copyable elements (PR #147366)
Alexey Bataev via llvm-commits
llvm-commits at lists.llvm.org
Thu Aug 7 07:44:27 PDT 2025
================
@@ -19,14 +19,14 @@ define void @test(ptr %0, i32 %add651) {
; CHECK-NEXT: [[ARRAYIDX660:%.*]] = getelementptr i8, ptr [[TMP4]], i64 7800
; CHECK-NEXT: [[ARRAYIDX689:%.*]] = getelementptr i8, ptr [[TMP4]], i64 7816
; CHECK-NEXT: [[TMP6:%.*]] = add <2 x i32> [[TMP3]], splat (i32 1)
----------------
alexey-bataev wrote:
The check that tries to check the profitability considers it unprofitable. I tried to to make it vectorizable, but found out it is unprofitable too, too many buildvectors, which add the cost and make the whole tree non-profitable for vectorization
https://github.com/llvm/llvm-project/pull/147366
More information about the llvm-commits
mailing list