1 ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py
2 ; RUN: opt -S -passes=slp-vectorizer -mtriple=aarch64-unknown-linux-gnu < %s | FileCheck %s
4 define void @foo() local_unnamed_addr {
7 ; CHECK-NEXT: [[TMP0:%.*]] = load volatile double, ptr poison, align 8
8 ; CHECK-NEXT: [[TMP1:%.*]] = load volatile double, ptr poison, align 8
9 ; CHECK-NEXT: [[TMP2:%.*]] = load volatile double, ptr poison, align 8
10 ; CHECK-NEXT: [[TMP3:%.*]] = load volatile double, ptr poison, align 8
11 ; CHECK-NEXT: br label [[FOR_BODY:%.*]]
13 ; CHECK-NEXT: [[D30_0734:%.*]] = phi double [ undef, [[FOR_BODY]] ], [ [[TMP0]], [[ENTRY:%.*]] ]
14 ; CHECK-NEXT: [[D01_0733:%.*]] = phi double [ undef, [[FOR_BODY]] ], [ [[TMP1]], [[ENTRY]] ]
15 ; CHECK-NEXT: [[D11_0732:%.*]] = phi double [ undef, [[FOR_BODY]] ], [ [[TMP2]], [[ENTRY]] ]
16 ; CHECK-NEXT: [[D21_0731:%.*]] = phi double [ undef, [[FOR_BODY]] ], [ [[TMP3]], [[ENTRY]] ]
17 ; CHECK-NEXT: br label [[FOR_BODY]]
20 %0 = load volatile double, ptr poison, align 8
21 %1 = load volatile double, ptr poison, align 8
22 %2 = load volatile double, ptr poison, align 8
23 %3 = load volatile double, ptr poison, align 8
26 for.body: ; preds = %for.body, %entry
27 %d30.0734 = phi double [ undef, %for.body ], [ %0, %entry ]
28 %d01.0733 = phi double [ undef, %for.body ], [ %1, %entry ]
29 %d11.0732 = phi double [ undef, %for.body ], [ %2, %entry ]
30 %d21.0731 = phi double [ undef, %for.body ], [ %3, %entry ]