]> Gitweb @ Texas Instruments - Open Source Git Repositories - git.TI.com/gitweb - opencl/llvm.git/blob - test/Linker/module-flags-1-a.ll
IR: Make metadata typeless in assembly
[opencl/llvm.git] / test / Linker / module-flags-1-a.ll
1 ; RUN: llvm-link %s %p/module-flags-1-b.ll -S -o - | sort | FileCheck %s
3 ; Test basic functionality of module flags.
5 ; CHECK: !0 = !{i32 1, !"foo", i32 37}
6 ; CHECK: !1 = !{i32 2, !"bar", i32 42}
7 ; CHECK: !2 = !{i32 1, !"mux", !3}
8 ; CHECK: !3 = !{!"hello world", i32 927}
9 ; CHECK: !4 = !{i32 1, !"qux", i32 42}
10 ; CHECK: !llvm.module.flags = !{!0, !1, !2, !4}
12 !0 = !{ i32 1, !"foo", i32 37 }
13 !1 = !{ i32 2, !"bar", i32 42 }
14 !2 = !{ i32 1, !"mux", !{ !"hello world", i32 927 } }
16 !llvm.module.flags = !{ !0, !1, !2 }