From: Rong Xu Date: Wed, 9 Dec 2015 21:27:59 +0000 (+0000) Subject: [PGO] Rename the profdata filename to avoid the conflict b/w tests. X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=49c4c7b2a7d8630c7c30cfb7089d9b2e2c18946c;p=oota-llvm.git [PGO] Rename the profdata filename to avoid the conflict b/w tests. Two tests diag_mismatch.ll and diag_no_funcprofdata.ll generates the same profdata filename which can conflict in current test runs. This patch renames them to have different names. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@255158 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/test/Transforms/PGOProfile/diag_no_funcprofdata.ll b/test/Transforms/PGOProfile/diag_no_funcprofdata.ll index 39cd978dc77..24262fdf290 100644 --- a/test/Transforms/PGOProfile/diag_no_funcprofdata.ll +++ b/test/Transforms/PGOProfile/diag_no_funcprofdata.ll @@ -1,5 +1,5 @@ -; RUN: llvm-profdata merge %S/Inputs/diag.proftext -o %T/diag.profdata -; RUN: opt < %s -pgo-instr-use -pgo-test-profile-file=%T/diag.profdata -S 2>&1 | FileCheck %s +; RUN: llvm-profdata merge %S/Inputs/diag.proftext -o %T/diag2.profdata +; RUN: opt < %s -pgo-instr-use -pgo-test-profile-file=%T/diag2.profdata -S 2>&1 | FileCheck %s ; CHECK: No profile data available for function bar