1 ; RUN: opt -passes=loop-vectorize -S %s
3 target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128"
4 target triple = "x86_64-unknown-linux-gnu"
6 define void @f(i128 %p1) {
11 %p.05 = phi ptr [ %add.ptr, %while.body ], [ null, %entry ]
12 %p1.addr.04 = phi i128 [ %sub, %while.body ], [ %p1, %entry ]
13 %add.ptr = getelementptr inbounds i8, ptr %p.05, i32 2
14 %sub = add nsw i128 %p1.addr.04, -2
15 %tobool = icmp eq i128 %sub, 0
16 br i1 %tobool, label %while.end, label %while.body