40 lines · plain
1; NOTE: Assertions have been autogenerated by utils/update_test_checks.py2; RUN: opt < %s -S -mtriple=x86_64-- -passes=slp-vectorizer -mcpu=x86-64 | FileCheck %s3; RUN: opt < %s -S -mtriple=x86_64-- -passes=slp-vectorizer -mcpu=x86-64-v2 | FileCheck %s4; RUN: opt < %s -S -mtriple=x86_64-- -passes=slp-vectorizer -mcpu=x86-64-v3 | FileCheck %s5; RUN: opt < %s -S -mtriple=x86_64-- -passes=slp-vectorizer -mcpu=x86-64-v4 | FileCheck %s6 7@arr = global [20 x i64] zeroinitializer, align 168 9define void @PR111126() {10; CHECK-LABEL: @PR111126(11; CHECK-NEXT: store <4 x i64> splat (i64 1), ptr @arr, align 1612; CHECK-NEXT: store <4 x i64> splat (i64 1), ptr getelementptr inbounds (i8, ptr @arr, i64 32), align 1613; CHECK-NEXT: store <4 x i64> splat (i64 1), ptr getelementptr inbounds (i8, ptr @arr, i64 64), align 1614; CHECK-NEXT: store <4 x i64> splat (i64 1), ptr getelementptr inbounds (i8, ptr @arr, i64 96), align 1615; CHECK-NEXT: store <4 x i64> splat (i64 1), ptr getelementptr inbounds (i8, ptr @arr, i64 128), align 1616; CHECK-NEXT: ret void17;18 store i64 1, ptr @arr, align 1619 store i64 1, ptr getelementptr inbounds (i8, ptr @arr, i64 8), align 820 store i64 1, ptr getelementptr inbounds (i8, ptr @arr, i64 16), align 1621 store i64 1, ptr getelementptr inbounds (i8, ptr @arr, i64 24), align 822 store i64 1, ptr getelementptr inbounds (i8, ptr @arr, i64 32), align 1623 store i64 1, ptr getelementptr inbounds (i8, ptr @arr, i64 40), align 824 store i64 1, ptr getelementptr inbounds (i8, ptr @arr, i64 48), align 1625 store i64 1, ptr getelementptr inbounds (i8, ptr @arr, i64 56), align 826 store i64 1, ptr getelementptr inbounds (i8, ptr @arr, i64 64), align 1627 store i64 1, ptr getelementptr inbounds (i8, ptr @arr, i64 72), align 828 store i64 1, ptr getelementptr inbounds (i8, ptr @arr, i64 80), align 1629 store i64 1, ptr getelementptr inbounds (i8, ptr @arr, i64 88), align 830 store i64 1, ptr getelementptr inbounds (i8, ptr @arr, i64 96), align 1631 store i64 1, ptr getelementptr inbounds (i8, ptr @arr, i64 104), align 832 store i64 1, ptr getelementptr inbounds (i8, ptr @arr, i64 112), align 1633 store i64 1, ptr getelementptr inbounds (i8, ptr @arr, i64 120), align 834 store i64 1, ptr getelementptr inbounds (i8, ptr @arr, i64 128), align 1635 store i64 1, ptr getelementptr inbounds (i8, ptr @arr, i64 136), align 836 store i64 1, ptr getelementptr inbounds (i8, ptr @arr, i64 144), align 1637 store i64 1, ptr getelementptr inbounds (i8, ptr @arr, i64 152), align 838 ret void39}40