[llvm] [SLP][REVEC] Make shufflevector can be vectorized with ReorderIndices and ReuseShuffleIndices. (PR #114965)

Alexey Bataev via llvm-commits llvm-commits at lists.llvm.org
Tue Nov 5 06:56:30 PST 2024


================
@@ -82,3 +82,40 @@ entry:
   store <4 x i32> %4, ptr %8, align 4
   ret void
 }
+
+define void @test4(ptr %in) {
+; CHECK-LABEL: @test4(
+; CHECK-NEXT:  entry:
+; CHECK-NEXT:    br label [[LABEL0:%.*]]
+; CHECK:       label0:
+; CHECK-NEXT:    br label [[LABEL2:%.*]]
+; CHECK:       label1:
+; CHECK-NEXT:    br label [[LABEL2]]
+; CHECK:       label2:
+; CHECK-NEXT:    br label [[LABEL0]]
+;
----------------
alexey-bataev wrote:

Better to have a test, which generate some meaningful code

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


More information about the llvm-commits mailing list