1target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
2target triple = "x86_64-unknown-linux-gnu"
3
4%fum = type { %aab, i8, [7 x i8] }
5%aab = type { %aba }
6%aba = type { [8 x i8] }
7%fum.1 = type { %abb, i8, [7 x i8] }
8%abb = type { %abc }
9%abc = type { [4 x i8] }
10
11declare void @foo(%fum*)
12
13declare %fum.1** @"llvm.ssa.copy.p0p0s_fum.1s"(%fum.1**)
14
15declare %fum** @"llvm.ssa.copy.p0p0s_fums"(%fum**)
16
17define void @foo1(%fum** %a, %fum.1 ** %b) {
18  %b.copy = call %fum.1** @"llvm.ssa.copy.p0p0s_fum.1s"(%fum.1** %b)
19  %a.copy = call %fum** @"llvm.ssa.copy.p0p0s_fums"(%fum** %a)
20  ret void
21}
22
23define void @foo2(%fum.1 ** %b, %fum** %a) {
24  %a.copy = call %fum** @"llvm.ssa.copy.p0p0s_fums"(%fum** %a)
25  %b.copy = call %fum.1** @"llvm.ssa.copy.p0p0s_fum.1s"(%fum.1** %b)
26  ret void
27}
28