1 ; RUN: opt -loop-vectorize -S %s 2 3 target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128" 4 target triple = "x86_64-unknown-linux-gnu" 5 6 define void @f(i128 %p1) { 7 entry: 8 br label %while.body 9 10 while.body: 11 %p.05 = phi i8* [ %add.ptr, %while.body ], [ null, %entry ] 12 %p1.addr.04 = phi i128 [ %sub, %while.body ], [ %p1, %entry ] 13 %add.ptr = getelementptr inbounds i8, i8* %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 17 18 while.end: 19 ret void 20 } 21