1; RUN: opt %loadPolly -polly-codegen -S < %s | FileCheck %s
2
3; CHECK:      polly.stmt.if.then81:                             ; preds = %polly.stmt.if.end75
4; CHECK-NEXT:   %scevgep = getelementptr [2 x %S], [2 x %S]* %tmp, i64 0, i64 %.147
5; CHECK-NEXT:   %scevgep1 = bitcast %S* %scevgep to float*
6; CHECK-NEXT:   store float undef, float* %scevgep1, align 4, !alias.scope !0, !noalias !3
7; CHECK-NEXT:   br label %polly.stmt.if.end87.region_exiting
8
9target datalayout = "e-m:e-i8:8:32-i16:16:32-i64:64-i128:128-n32:64-S128"
10target triple = "aarch64--linux-android"
11
12%S = type { float, float }
13
14define void @f() {
15entry:
16  %tmp = alloca [2 x %S], align 4
17  %cmp52 = fcmp olt float undef, undef
18  %not.cmp52 = xor i1 %cmp52, true
19  %.147 = zext i1 %not.cmp52 to i64
20  %fX64 = getelementptr inbounds [2 x %S], [2 x %S]* %tmp, i64 0, i64 %.147, i32 0
21  br label %if.end75
22
23if.end75:
24  %cmp80 = fcmp olt float undef, undef
25  br i1 %cmp80, label %if.then81, label %if.end87
26
27if.then81:
28  store float undef, float* %fX64, align 4
29  br label %if.end87
30
31if.end87:
32  %0 = phi float [ undef, %if.then81 ], [ undef, %if.end75 ]
33  ret void
34}
35