1 ; RUN: opt -S -loop-vectorize -mtriple=s390x-linux-gnu -tiny-trip-count-interleave-threshold=4 -vectorizer-min-trip-count=8 < %s | FileCheck %s
2 ; RUN: opt -S -passes=loop-vectorize -mtriple=s390x-linux-gnu -tiny-trip-count-interleave-threshold=4 -vectorizer-min-trip-count=8 < %s | FileCheck %s
4 define i32 @main(i32 %arg, i8** nocapture readnone %arg1) #0 {
7 %0 = alloca i8, align 1
11 %storemerge.i.i = phi i8 [ 0, %entry ], [ %tmp12.i.i, %loop ]
12 store i8 %storemerge.i.i, i8* %0, align 2
13 %tmp8.i.i = icmp ult i8 %storemerge.i.i, 8
14 %tmp12.i.i = add nuw nsw i8 %storemerge.i.i, 1
15 br i1 %tmp8.i.i, label %loop, label %ret
21 attributes #0 = { "target-cpu"="z13" }