summaryrefslogtreecommitdiffstats
path: root/llvm/test/Bitcode/summary_version.ll
blob: 2a67073713c0b9077175ba06ed6d48740872f04a (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=8/>



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