blob: 2ca2af3491180e1e3a3f7467d701ec42dd8c4afe [file] [log] [blame]
Krzysztof Parzyszek046090d2018-03-12 14:01:28 +00001; RUN: llc -march=hexagon < %s | FileCheck %s
2;
3; CHECK-NOT: 4294967295
4
5target triple = "hexagon"
6
7%s.0 = type {}
8%s.1 = type { %s.2, %s.6 }
9%s.2 = type { %s.3 }
10%s.3 = type { %s.4 }
11%s.4 = type { %s.5 }
12%s.5 = type { i32 }
13%s.6 = type { %s.6*, %s.6* }
14
15@g0 = internal global %s.0 zeroinitializer, align 1
16@g1 = private unnamed_addr constant [23 x i8] c"......................\00", align 1
17
18; Function Attrs: nounwind
19define void @f0(i8* %a0) #0 {
20b0:
21 %v0 = alloca i32, align 4
22 %v1 = getelementptr inbounds i8, i8* %a0, i32 1028
23 store volatile i32 0, i32* %v0, align 4
24 %v2 = bitcast i8* %v1 to i32*
25 %v3 = load volatile i32, i32* %v0, align 4
26 store volatile i32 %v3, i32* %v2, align 4
27 %v4 = getelementptr inbounds i8, i8* %a0, i32 1032
28 %v5 = bitcast i8* %v4 to %s.1*
29 call void @f1(%s.1* %v5, i8* getelementptr inbounds ([23 x i8], [23 x i8]* @g1, i32 0, i32 0), %s.0* @g0) #0
30 ret void
31}
32
33; Function Attrs: nounwind
34declare void @f1(%s.1*, i8*, %s.0*) #0
35
36attributes #0 = { nounwind }