Enable temporary support to ease use of new llvm-profdata with slightly
older indexed profiles after 16e74fd489,
which bumped the indexed format for type profiling.
10 lines
400 B
Plaintext
10 lines
400 B
Plaintext
Test the profile version.
|
|
|
|
RUN: llvm-profdata merge -o %t.profdata %p/Inputs/basic.proftext
|
|
RUN: llvm-profdata show --profile-version %t.profdata | FileCheck %s
|
|
CHECK: Profile version: 12
|
|
|
|
RUN: llvm-profdata merge -o %t.prev.profdata %p/Inputs/basic.proftext --write-prev-version
|
|
RUN: llvm-profdata show --profile-version %t.prev.profdata | FileCheck %s --check-prefix=PREV
|
|
PREV: Profile version: 11
|