We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d77ef14 commit e92f2eeCopy full SHA for e92f2ee
llvm/test/Transforms/SLPVectorizer/X86/revec-reduced-value-replace-extractelement.ll
@@ -0,0 +1,21 @@
1
+; NOTE: Assertions have been autogenerated by utils/update_test_checks.py UTC_ARGS: --version 5
2
+; RUN: opt -S --passes=slp-vectorizer -slp-threshold=-99999 < %s -mtriple=x86_64-unknown-linux-gnu -slp-revec | FileCheck %s
3
+
4
+define void @test() {
5
+bb:
6
+ br label %bb1
7
8
+bb1:
9
+ %phi = phi i32 [ 0, %bb ], [ %mul9, %bb1 ]
10
+ %phi2 = phi i32 [ 0, %bb ], [ 0, %bb1 ]
11
+ %trunc = trunc i64 0 to i32
12
+ %mul = mul i32 0, %trunc
13
+ %mul3 = mul i32 %trunc, %phi
14
+ %mul4 = mul i32 %mul3, %mul
15
+ %mul5 = mul i32 %mul4, %mul
16
+ %trunc6 = trunc i64 0 to i32
17
+ %mul7 = mul i32 0, %trunc6
18
+ %mul8 = mul i32 %mul5, %mul7
19
+ %mul9 = mul i32 %mul8, %mul7
20
21
+}
0 commit comments