]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/blob - test/Bitcode/summary_version.ll
Vendor import of llvm release_39 branch r276489:
[FreeBSD/FreeBSD.git] / test / Bitcode / summary_version.ll
1 ; Check summary versioning
2 ; RUN: opt  -module-summary  %s -o - | llvm-bcanalyzer -dump | FileCheck %s
3
4 ; CHECK: <GLOBALVAL_SUMMARY_BLOCK
5 ; CHECK: <VERSION op0=1/>
6
7
8
9 ; Need a function for the summary to be populated.
10 define void @foo() {
11     ret void
12 }