1; RUN: llc <%s 2target datalayout = "e-m:e-i64:64-i128:128-n32:64-S128" 3target triple = "aarch64--linux-gnu" 4 5; Function Attrs: noreturn nounwind 6define void @foo(i32* %d) { 7entry: 8 %0 = ptrtoint i32* %d to i64 9 %1 = and i64 %0, -36028797018963969 10 %2 = inttoptr i64 %1 to i32* 11 %arrayidx5 = getelementptr inbounds i32, i32* %2, i64 1 12 %arrayidx6 = getelementptr inbounds i32, i32* %2, i64 2 13 %arrayidx7 = getelementptr inbounds i32, i32* %2, i64 3 14 br label %for.cond 15 16for.cond: ; preds = %for.cond, %entry 17 %B.0 = phi i32* [ %d, %entry ], [ %12, %for.cond ] 18 %3 = ptrtoint i32* %B.0 to i64 19 %4 = and i64 %3, -36028797018963969 20 %5 = inttoptr i64 %4 to i32* 21 %6 = load i32, i32* %5, align 4 22 %arrayidx1 = getelementptr inbounds i32, i32* %5, i64 1 23 %7 = load i32, i32* %arrayidx1, align 4 24 %arrayidx2 = getelementptr inbounds i32, i32* %5, i64 2 25 %8 = load i32, i32* %arrayidx2, align 4 26 %arrayidx3 = getelementptr inbounds i32, i32* %5, i64 3 27 %9 = load i32, i32* %arrayidx3, align 4 28 store i32 %6, i32* %2, align 4 29 store i32 %7, i32* %arrayidx5, align 4 30 store i32 %8, i32* %arrayidx6, align 4 31 store i32 %9, i32* %arrayidx7, align 4 32 %10 = ptrtoint i32* %arrayidx1 to i64 33 %11 = or i64 %10, 36028797018963968 34 %12 = inttoptr i64 %11 to i32* 35 br label %for.cond 36} 37