1 ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py UTC_ARGS: --version 4
2 ; RUN: opt -S --passes=slp-vectorizer -mtriple=x86_64-unknown-linux-gnu -slp-threshold=-99999 < %s | FileCheck %s
5 ; CHECK-LABEL: define void @test() {
7 ; CHECK-NEXT: [[TMP0:%.*]] = extractelement <2 x ptr> zeroinitializer, i32 0
8 ; CHECK-NEXT: [[GETELEMENTPTR6:%.*]] = getelementptr i8, ptr [[TMP0]], i64 872
9 ; CHECK-NEXT: store double 0.000000e+00, ptr [[GETELEMENTPTR6]], align 8
10 ; CHECK-NEXT: br label [[BB9:%.*]]
12 ; CHECK-NEXT: [[TMP1:%.*]] = phi <2 x ptr> [ getelementptr (i8, <2 x ptr> zeroinitializer, <2 x i64> <i64 32, i64 872>), [[BB:%.*]] ]
13 ; CHECK-NEXT: ret void
16 %getelementptr = getelementptr i8, ptr null, i64 32
17 %0 = extractelement <2 x ptr> zeroinitializer, i32 0
18 %getelementptr6 = getelementptr i8, ptr %0, i64 872
19 store double 0.000000e+00, ptr %getelementptr6, align 8
23 %phi10 = phi ptr [ %getelementptr, %bb ]
24 %phi11 = phi ptr [ %getelementptr6, %bb ]