2016-04-24 03:18:11 +00:00
|
|
|
; Check summary versioning
|
|
|
|
; RUN: opt -module-summary %s -o - | llvm-bcanalyzer -dump | FileCheck %s
|
|
|
|
|
|
|
|
; CHECK: <GLOBALVAL_SUMMARY_BLOCK
|
Restore "[WPD/LowerTypeTests] Delay lowering/removal of type tests until after ICP"
This restores commit 80d0a137a5aba6998fadb764f1e11cb901aae233, and the
follow on fix in 873c0d0786dcf22f4af39f65df824917f70f2170, with a new
fix for test failures after a 2-stage clang bootstrap, and a more robust
fix for the Chromium build failure that an earlier version partially
fixed. See also discussion on D75201.
Reviewers: evgeny777
Subscribers: mehdi_amini, Prazek, hiraditya, steven_wu, dexonsmith, arphaman, davidxl, cfe-commits, llvm-commits
Tags: #clang, #llvm
Differential Revision: https://reviews.llvm.org/D73242
2020-03-17 11:08:35 -07:00
|
|
|
; CHECK: <VERSION op0=9/>
|
2016-04-24 03:18:11 +00:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
; Need a function for the summary to be populated.
|
|
|
|
define void @foo() {
|
|
|
|
ret void
|
|
|
|
}
|