Make lazyload_metadata.ll resilient to the addition of new metadata kinds
authorDavid Herzka <david@herzka.com>
Thu, 26 Dec 2019 18:56:07 +0000 (13:56 -0500)
committerDavid Herzka <david@herzka.com>
Thu, 26 Dec 2019 18:56:07 +0000 (13:56 -0500)
commitbe4704bd41a4dd8bb5c4dd5a614744c69fb3cf8e
treeb83a378092869058873c7cc84a65509ed0c1069d
parentcdd25a4c7410d9af69df4ebe0e640506b8e977b4
Make lazyload_metadata.ll resilient to the addition of new metadata kinds

Summary: The specific number of records loaded depends on the number of kinds, but the difference between the lazy and not lazy cases does not.

Reviewers: modocache

Subscribers: llvm-commits, dexonsmith, steven_wu, hiraditya, mehdi_amini

Tags: #llvm

Differential Revision: https://reviews.llvm.org/D71882
llvm/test/ThinLTO/X86/lazyload_metadata.ll