Run DCE after a LoopFlatten test to reduce spurious output [nfc]
[llvm-project.git] / compiler-rt / test / profile / instrprof-merge-error.c
blob4bd60d514c08b9be1d7daa0b6a93fe92a89ef43a
1 // RUN: rm -rf %t; mkdir %t
3 // RUN: %clang_pgogen -o %t/timeprof -mllvm -pgo-temporal-instrumentation %s
4 // RUN: env LLVM_PROFILE_FILE=%t/timeprof_%m.profdata %run %t/timeprof 2>&1 | count 0
5 // RUN: env LLVM_PROFILE_FILE=%t/timeprof_%m.profdata %run %t/timeprof 2>&1 | FileCheck %s --check-prefix=TIMEPROF
7 // TIMEPROF: Temporal profiles do not support profile merging at runtime.
9 int main() { return 0; }