1 ; RUN: llvm-as < %s | llvm-dis | FileCheck %s
2 ; RUN: verify-uselistorder %s
4 ; CHECK: @a = global [4 x ptr] [ptr no_cfi @f1, ptr @f1, ptr @f2, ptr no_cfi @f2]
5 @a = global [4 x void ()*] [void ()* no_cfi @f1, void ()* @f1, void ()* @f2, void ()* no_cfi @f2]
6 ; CHECK: @b = constant ptr no_cfi @f3
7 @b = constant void ()* no_cfi @f3
8 ; CHECK: @c = constant ptr @f3
9 @c = constant void ()* @f3
11 ; CHECK: declare void @f1()
14 ; CHECK: declare void @f2()
17 ; CHECK: define void @f3()
19 ; CHECK: call void no_cfi @f4()
20 call void no_cfi @f4()
21 ; CHECK: call void @f4()
23 ; CHECK: call void no_cfi @f5()
24 call void no_cfi @f5()
25 ; CHECK: call void @f5()
30 ; CHECK: declare void @f4()
33 ; CHECK: declare void @f5()
37 %n = alloca void ()*, align 8
38 ; CHECK: store ptr no_cfi @f5, ptr %n, align 8
39 store void ()* no_cfi @f5, void ()** %n, align 8
40 %1 = load void ()*, void ()** %n