summaryrefslogtreecommitdiffstats
path: root/llvm/test/Bitcode/summary_version.ll
blob: 4913a1ec066890ef73f706abd29dad5d9092d918 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
; Check summary versioning
; RUN: opt  -module-summary  %s -o - | llvm-bcanalyzer -dump | FileCheck %s

; CHECK: <GLOBALVAL_SUMMARY_BLOCK
; CHECK: <VERSION op0=5/>



; Need a function for the summary to be populated.
define void @foo() {
    ret void
}
OpenPOWER on IntegriCloud