1 ; RUN: llc -march=hexagon -disable-const64=1 < %s | FileCheck %s
2 ; CHECK: combine(##4917,#88)
4 target triple = "hexagon"
7 %s.2 = type { i32, i8* }
9 @g0 = internal constant [61 x i8] c"............................................................\00", align 4
10 @g1 = internal constant %s.1 { %s.2 { i32 8, i8* getelementptr inbounds ([61 x i8], [61 x i8]* @g0, i32 0, i32 0) } }, align 4
12 define void @f0(i32 %a0) local_unnamed_addr #0 {
14 %v0 = alloca i8*, align 4
15 store i8* null, i8** %v0, align 4, !tbaa !0
16 call void @f1(i32 88, i16 zeroext 4917, i8** nonnull %v0) #0
17 %v1 = load i8*, i8** %v0, align 4, !tbaa !0
18 %v2 = icmp eq i8* %v1, null
19 br i1 %v2, label %b1, label %b2
22 call void @f2(%s.1* nonnull @g1) #0
26 %v3 = call i32 @f3(i8 zeroext 22, i8* null, i8* nonnull %v1, i16 zeroext 88) #0
27 %v4 = load i8*, i8** %v0, align 4, !tbaa !0
28 call void @f4(i8* %v4, i32 88) #0
31 b3: ; preds = %b2, %b1
35 declare void @f1(i32, i16 zeroext, i8**) local_unnamed_addr
37 declare void @f2(%s.1*) local_unnamed_addr
39 declare i32 @f3(i8 zeroext, i8*, i8*, i16 zeroext) local_unnamed_addr
41 declare void @f4(i8*, i32) local_unnamed_addr
43 attributes #0 = { nounwind optsize }
46 !1 = !{!"any pointer", !2}
47 !2 = !{!"omnipotent char", !3}
48 !3 = !{!"Simple C/C++ TBAA"}