1 ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py UTC_ARGS: --version 5
2 ; RUN: opt -passes=slp-vectorizer -S -mtriple=x86_64-unknown-linux-gnu < %s | FileCheck %s
4 define void @test(ptr %p) {
5 ; CHECK-LABEL: define void @test(
6 ; CHECK-SAME: ptr [[P:%.*]]) {
7 ; CHECK-NEXT: [[ENTRY:.*:]]
8 ; CHECK-NEXT: [[GEP1:%.*]] = getelementptr inbounds i8, ptr [[P]], i64 16
9 ; CHECK-NEXT: store <2 x i64> zeroinitializer, ptr [[GEP1]], align 16
10 ; CHECK-NEXT: ret void
13 %conv548.2.i.13 = zext i32 0 to i64
14 %and551.2.i.13 = and i64 0, %conv548.2.i.13
15 %conv548.3.i.13 = zext i32 0 to i64
16 %and551.3.i.13 = and i64 0, %conv548.3.i.13
17 %0 = trunc i64 %and551.2.i.13 to i32
18 %conv54.2.i.14 = and i32 %0, 0
19 %conv548.2.i.14 = zext i32 %conv54.2.i.14 to i64
20 %and551.2.i.14 = and i64 %and551.2.i.13, %conv548.2.i.14
21 %1 = trunc i64 %and551.3.i.13 to i32
22 %conv54.3.i.14 = and i32 %1, 0
23 %conv548.3.i.14 = zext i32 %conv54.3.i.14 to i64
24 %and551.3.i.14 = and i64 %and551.3.i.13, %conv548.3.i.14
25 %and551.2.i.15 = and i64 %and551.2.i.14, 0
26 %and551.3.i.15 = and i64 %and551.3.i.14, 0
27 %and551.2.i.16 = and i64 %and551.2.i.15, 0
28 %and551.3.i.16 = and i64 %and551.3.i.15, 0
29 %and551.2.i.17 = and i64 %and551.2.i.16, 0
30 %and551.3.i.17 = and i64 %and551.3.i.16, 0
31 %and551.2.i.18 = and i64 %and551.2.i.17, 0
32 %and551.3.i.18 = and i64 %and551.3.i.17, 0
33 %and551.2.i.19 = and i64 %and551.2.i.18, 0
34 %and551.3.i.19 = and i64 %and551.3.i.18, 0
35 %and551.2.i.20 = and i64 %and551.2.i.19, 0
36 %and551.3.i.20 = and i64 %and551.3.i.19, 0
37 %and551.2.i.21 = and i64 %and551.2.i.20, 0
38 %and551.3.i.21 = and i64 %and551.3.i.20, 0
39 %gep1 = getelementptr inbounds i8, ptr %p, i64 16
40 %gep2 = getelementptr inbounds i8, ptr %p, i64 24
41 store i64 %and551.2.i.21, ptr %gep1, align 16
42 store i64 %and551.3.i.21, ptr %gep2, align 8