1; RUN: opt -S -loop-vectorize < %s | FileCheck %s 2target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128" 3 4; CHECK-LABEL: @fn1 5define void @fn1() { 6entry: 7 br label %for.body 8 9for.body: 10 %b.05 = phi i32 (...)* [ undef, %entry ], [ %1, %for.body ] 11 %a.04 = phi i32 [ 0, %entry ], [ %inc, %for.body ] 12 %0 = bitcast i32 (...)* %b.05 to i8* 13 %add.ptr = getelementptr i8, i8* %0, i64 1 14 %1 = bitcast i8* %add.ptr to i32 (...)* 15; CHECK: %[[cst:.*]] = bitcast i32 (...)* {{.*}} to i8* 16; CHECK-NEXT: %[[gep:.*]] = getelementptr i8, i8* %[[cst]], i64 1 17 %inc = add nsw i32 %a.04, 1 18 %exitcond = icmp eq i32 %a.04, 63 19 br i1 %exitcond, label %for.end, label %for.body 20 21for.end: 22 ret void 23} 24