mirror of
https://github.com/RPCS3/llvm.git
synced 2024-12-22 20:20:03 +00:00
5db391c67d
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@172659 91177308-0d34-0410-b5e6-96231b3b80d8
15 lines
544 B
LLVM
15 lines
544 B
LLVM
; RUN: llvm-link %s %p/module-flags-8-b.ll -S -o - | sort | FileCheck %s
|
|
|
|
; Test append-type module flags.
|
|
|
|
; CHECK: !0 = metadata !{i32 5, metadata !"flag-0", metadata !1}
|
|
; CHECK: !1 = metadata !{i32 0, i32 0, i32 1}
|
|
; CHECK: !2 = metadata !{i32 6, metadata !"flag-1", metadata !3}
|
|
; CHECK: !3 = metadata !{i32 0, i32 1, i32 2}
|
|
; CHECK: !llvm.module.flags = !{!0, !2}
|
|
|
|
!0 = metadata !{ i32 5, metadata !"flag-0", metadata !{ i32 0 } }
|
|
!1 = metadata !{ i32 6, metadata !"flag-1", metadata !{ i32 0, i32 1 } }
|
|
|
|
!llvm.module.flags = !{ !0, !1 }
|