xref: /llvm-project/llvm/test/Assembler/summary-flags.ll (revision 80dc0661bd8bba92fb0843cac3bdc061c093039f)
1; ModuleID = 'tmp.bc'
2source_filename = "tmp.bc"
3
4; Test parsing of summary flas. Expect that flags value is the same after round-trip through
5; RUN: llvm-as %s -o - | llvm-dis -o - | FileCheck %s
6; CHECK:       ^0 = module
7; CHECK-NEXT:  ^1 = gv
8; CHECK-NEXT:  ^2 = flags: 97
9
10^0 = module: (path: "main.bc", hash: (3499594384, 1671013073, 3271036935, 1830411232, 59290952))
11^1 = gv: (guid: 15822663052811949562, summaries: (function: (module: ^0, flags: (linkage: external, notEligibleToImport: 0, live: 1, dsoLocal: 1, canAutoHide: 0), insts: 2)))
12^2 = flags: 97
13