<p dir="ltr">Ok. Will send a patch for this.</p>
<p dir="ltr">Thanks,</p>
<p dir="ltr">Rong</p>
<div class="gmail_quote">On Dec 9, 2015 7:30 PM, "Sean Silva" <<a href="mailto:chisophugis@gmail.com">chisophugis@gmail.com</a>> wrote:<br type="attribution"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Using `%t<span style="font-size:13px">` should avoid this I think.</span><div><span style="font-size:13px"><br></span></div><div><span style="font-size:13px">In fact, using %T is extremely rare in LLVM tests. I would recommend migrating all tests to using %t instead.</span></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Dec 9, 2015 at 1:27 PM, Rong Xu via llvm-commits <span dir="ltr"><<a href="mailto:llvm-commits@lists.llvm.org" target="_blank">llvm-commits@lists.llvm.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Author: xur<br>
Date: Wed Dec 9 15:27:59 2015<br>
New Revision: 255158<br>
<br>
URL: <a href="http://llvm.org/viewvc/llvm-project?rev=255158&view=rev" rel="noreferrer" target="_blank">http://llvm.org/viewvc/llvm-project?rev=255158&view=rev</a><br>
Log:<br>
[PGO] Rename the profdata filename to avoid the conflict b/w tests.<br>
<br>
Two tests diag_mismatch.ll and diag_no_funcprofdata.ll generates the same<br>
profdata filename which can conflict in current test runs. This patch<br>
renames them to have different names.<br>
<br>
Modified:<br>
llvm/trunk/test/Transforms/PGOProfile/diag_no_funcprofdata.ll<br>
<br>
Modified: llvm/trunk/test/Transforms/PGOProfile/diag_no_funcprofdata.ll<br>
URL: <a href="http://llvm.org/viewvc/llvm-project/llvm/trunk/test/Transforms/PGOProfile/diag_no_funcprofdata.ll?rev=255158&r1=255157&r2=255158&view=diff" rel="noreferrer" target="_blank">http://llvm.org/viewvc/llvm-project/llvm/trunk/test/Transforms/PGOProfile/diag_no_funcprofdata.ll?rev=255158&r1=255157&r2=255158&view=diff</a><br>
==============================================================================<br>
--- llvm/trunk/test/Transforms/PGOProfile/diag_no_funcprofdata.ll (original)<br>
+++ llvm/trunk/test/Transforms/PGOProfile/diag_no_funcprofdata.ll Wed Dec 9 15:27:59 2015<br>
@@ -1,5 +1,5 @@<br>
-; RUN: llvm-profdata merge %S/Inputs/diag.proftext -o %T/diag.profdata<br>
-; RUN: opt < %s -pgo-instr-use -pgo-test-profile-file=%T/diag.profdata -S 2>&1 | FileCheck %s<br>
+; RUN: llvm-profdata merge %S/Inputs/diag.proftext -o %T/diag2.profdata<br>
+; RUN: opt < %s -pgo-instr-use -pgo-test-profile-file=%T/diag2.profdata -S 2>&1 | FileCheck %s<br>
<br>
; CHECK: No profile data available for function bar<br>
<br>
<br>
<br>
_______________________________________________<br>
llvm-commits mailing list<br>
<a href="mailto:llvm-commits@lists.llvm.org" target="_blank">llvm-commits@lists.llvm.org</a><br>
<a href="http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-commits" rel="noreferrer" target="_blank">http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-commits</a><br>
</blockquote></div><br></div>
</blockquote></div>