[PGO] Rename the profdata filename to avoid the conflict b/w tests.
authorRong Xu <xur@google.com>
Wed, 9 Dec 2015 21:27:59 +0000 (21:27 +0000)
committerRong Xu <xur@google.com>
Wed, 9 Dec 2015 21:27:59 +0000 (21:27 +0000)
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

test/Transforms/PGOProfile/diag_no_funcprofdata.ll

index 39cd978dc77e583188e5521e8ec6449ada02c194..24262fdf29098d4455a8fc92e88ba7a349ffc12e 100644 (file)
@@ -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