<div dir="ltr"><div><div>Thank you Takumi for fixing this!<br><br></div>Thanks<br><br></div>Galina<br></div><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Aug 18, 2016 at 11:44 PM, NAKAMURA Takumi 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: chapuni<br>
Date: Fri Aug 19 01:44:44 2016<br>
New Revision: 279214<br>
<br>
URL: <a href="http://llvm.org/viewvc/llvm-project?rev=279214&view=rev" rel="noreferrer" target="_blank">http://llvm.org/viewvc/llvm-<wbr>project?rev=279214&view=rev</a><br>
Log:<br>
Fix tests in llvm/test/tools/gold/X86 to satisfy r279014.<br>
<br>
They would unexpectedly pass if test/tools/gold/X86/Output had outputs of previous tests.<br>
<br>
Modified:<br>
llvm/trunk/test/tools/gold/<wbr>X86/emit-llvm.ll<br>
llvm/trunk/test/tools/gold/<wbr>X86/parallel.ll<br>
llvm/trunk/test/tools/gold/<wbr>X86/slp-vectorize.ll<br>
llvm/trunk/test/tools/gold/<wbr>X86/strip_names.ll<br>
llvm/trunk/test/tools/gold/<wbr>X86/type-merge2.ll<br>
llvm/trunk/test/tools/gold/<wbr>X86/vectorize.ll<br>
llvm/trunk/test/tools/gold/<wbr>X86/visibility.ll<br>
<br>
Modified: llvm/trunk/test/tools/gold/<wbr>X86/emit-llvm.ll<br>
URL: <a href="http://llvm.org/viewvc/llvm-project/llvm/trunk/test/tools/gold/X86/emit-llvm.ll?rev=279214&r1=279213&r2=279214&view=diff" rel="noreferrer" target="_blank">http://llvm.org/viewvc/llvm-<wbr>project/llvm/trunk/test/tools/<wbr>gold/X86/emit-llvm.ll?rev=<wbr>279214&r1=279213&r2=279214&<wbr>view=diff</a><br>
==============================<wbr>==============================<wbr>==================<br>
--- llvm/trunk/test/tools/gold/<wbr>X86/emit-llvm.ll (original)<br>
+++ llvm/trunk/test/tools/gold/<wbr>X86/emit-llvm.ll Fri Aug 19 01:44:44 2016<br>
@@ -9,9 +9,9 @@<br>
; RUN: -m elf_x86_64 --plugin-opt=save-temps \<br>
; RUN: -shared %t.o -o %t3.o<br>
; RUN: FileCheck --check-prefix=RES %s < %t3.o.resolution.txt<br>
-; RUN: llvm-dis %t3.o.2.internalize.bc -o - | FileCheck %s<br>
-; RUN: llvm-dis %t3.o.4.opt.bc -o - | FileCheck --check-prefix=OPT %s<br>
-; RUN: llvm-dis %t3.o.4.opt.bc -o - | FileCheck --check-prefix=OPT2 %s<br>
+; RUN: llvm-dis %t3.o.0.2.internalize.bc -o - | FileCheck %s<br>
+; RUN: llvm-dis %t3.o.0.4.opt.bc -o - | FileCheck --check-prefix=OPT %s<br>
+; RUN: llvm-dis %t3.o.0.4.opt.bc -o - | FileCheck --check-prefix=OPT2 %s<br>
; RUN: llvm-nm %t3.o.o | FileCheck --check-prefix=NM %s<br>
<br>
; RUN: rm -f %t4.o<br>
<br>
Modified: llvm/trunk/test/tools/gold/<wbr>X86/parallel.ll<br>
URL: <a href="http://llvm.org/viewvc/llvm-project/llvm/trunk/test/tools/gold/X86/parallel.ll?rev=279214&r1=279213&r2=279214&view=diff" rel="noreferrer" target="_blank">http://llvm.org/viewvc/llvm-<wbr>project/llvm/trunk/test/tools/<wbr>gold/X86/parallel.ll?rev=<wbr>279214&r1=279213&r2=279214&<wbr>view=diff</a><br>
==============================<wbr>==============================<wbr>==================<br>
--- llvm/trunk/test/tools/gold/<wbr>X86/parallel.ll (original)<br>
+++ llvm/trunk/test/tools/gold/<wbr>X86/parallel.ll Fri Aug 19 01:44:44 2016<br>
@@ -1,7 +1,7 @@<br>
; RUN: llvm-as -o %t.bc %s<br>
; RUN: rm -f %t.opt.bc0 %t.opt.bc1 %t.o0 %t.o1<br>
; RUN: env LD_PRELOAD=%llvmshlibdir/<wbr>LLVMgold.so %gold -plugin %llvmshlibdir/LLVMgold.so -u foo -u bar -plugin-opt jobs=2 -plugin-opt save-temps -m elf_x86_64 -o %t %t.bc<br>
-; RUN: llvm-dis %t.5.precodegen.bc -o - | FileCheck --check-prefix=CHECK-BC0 %s<br>
+; RUN: llvm-dis %t.0.5.precodegen.bc -o - | FileCheck --check-prefix=CHECK-BC0 %s<br>
; RUN: llvm-dis %t.1.5.precodegen.bc -o - | FileCheck --check-prefix=CHECK-BC1 %s<br>
; RUN: llvm-nm %t.o0 | FileCheck --check-prefix=CHECK0 %s<br>
; RUN: llvm-nm %t.o1 | FileCheck --check-prefix=CHECK1 %s<br>
<br>
Modified: llvm/trunk/test/tools/gold/<wbr>X86/slp-vectorize.ll<br>
URL: <a href="http://llvm.org/viewvc/llvm-project/llvm/trunk/test/tools/gold/X86/slp-vectorize.ll?rev=279214&r1=279213&r2=279214&view=diff" rel="noreferrer" target="_blank">http://llvm.org/viewvc/llvm-<wbr>project/llvm/trunk/test/tools/<wbr>gold/X86/slp-vectorize.ll?rev=<wbr>279214&r1=279213&r2=279214&<wbr>view=diff</a><br>
==============================<wbr>==============================<wbr>==================<br>
--- llvm/trunk/test/tools/gold/<wbr>X86/slp-vectorize.ll (original)<br>
+++ llvm/trunk/test/tools/gold/<wbr>X86/slp-vectorize.ll Fri Aug 19 01:44:44 2016<br>
@@ -3,7 +3,7 @@<br>
; RUN: %gold -m elf_x86_64 -plugin %llvmshlibdir/LLVMgold.so \<br>
; RUN: --plugin-opt=save-temps \<br>
; RUN: -shared %t.o -o %t2.o<br>
-; RUN: llvm-dis %t2.o.4.opt.bc -o - | FileCheck %s<br>
+; RUN: llvm-dis %t2.o.0.4.opt.bc -o - | FileCheck %s<br>
<br>
; test that the vectorizer is run.<br>
; CHECK: fadd <4 x float><br>
<br>
Modified: llvm/trunk/test/tools/gold/<wbr>X86/strip_names.ll<br>
URL: <a href="http://llvm.org/viewvc/llvm-project/llvm/trunk/test/tools/gold/X86/strip_names.ll?rev=279214&r1=279213&r2=279214&view=diff" rel="noreferrer" target="_blank">http://llvm.org/viewvc/llvm-<wbr>project/llvm/trunk/test/tools/<wbr>gold/X86/strip_names.ll?rev=<wbr>279214&r1=279213&r2=279214&<wbr>view=diff</a><br>
==============================<wbr>==============================<wbr>==================<br>
--- llvm/trunk/test/tools/gold/<wbr>X86/strip_names.ll (original)<br>
+++ llvm/trunk/test/tools/gold/<wbr>X86/strip_names.ll Fri Aug 19 01:44:44 2016<br>
@@ -3,7 +3,7 @@<br>
; RUN: %gold -plugin %llvmshlibdir/LLVMgold.so \<br>
; RUN: --plugin-opt=save-temps \<br>
; RUN: -shared %t.o -o %t2.o<br>
-; RUN: llvm-dis %t2.o.2.internalize.bc -o - | FileCheck %s<br>
+; RUN: llvm-dis %t2.o.0.2.internalize.bc -o - | FileCheck %s<br>
<br>
; RUN: %gold -plugin %llvmshlibdir/LLVMgold.so \<br>
; RUN: --plugin-opt=emit-llvm \<br>
<br>
Modified: llvm/trunk/test/tools/gold/<wbr>X86/type-merge2.ll<br>
URL: <a href="http://llvm.org/viewvc/llvm-project/llvm/trunk/test/tools/gold/X86/type-merge2.ll?rev=279214&r1=279213&r2=279214&view=diff" rel="noreferrer" target="_blank">http://llvm.org/viewvc/llvm-<wbr>project/llvm/trunk/test/tools/<wbr>gold/X86/type-merge2.ll?rev=<wbr>279214&r1=279213&r2=279214&<wbr>view=diff</a><br>
==============================<wbr>==============================<wbr>==================<br>
--- llvm/trunk/test/tools/gold/<wbr>X86/type-merge2.ll (original)<br>
+++ llvm/trunk/test/tools/gold/<wbr>X86/type-merge2.ll Fri Aug 19 01:44:44 2016<br>
@@ -3,7 +3,7 @@<br>
; RUN: %gold -plugin %llvmshlibdir/LLVMgold.so \<br>
; RUN: --plugin-opt=save-temps \<br>
; RUN: -shared %t.o %t2.o -o %t3.o<br>
-; RUN: llvm-dis %t3.o.2.internalize.bc -o - | FileCheck %s<br>
+; RUN: llvm-dis %t3.o.0.2.internalize.bc -o - | FileCheck %s<br>
<br>
%zed = type { i8 }<br>
define void @foo() {<br>
<br>
Modified: llvm/trunk/test/tools/gold/<wbr>X86/vectorize.ll<br>
URL: <a href="http://llvm.org/viewvc/llvm-project/llvm/trunk/test/tools/gold/X86/vectorize.ll?rev=279214&r1=279213&r2=279214&view=diff" rel="noreferrer" target="_blank">http://llvm.org/viewvc/llvm-<wbr>project/llvm/trunk/test/tools/<wbr>gold/X86/vectorize.ll?rev=<wbr>279214&r1=279213&r2=279214&<wbr>view=diff</a><br>
==============================<wbr>==============================<wbr>==================<br>
--- llvm/trunk/test/tools/gold/<wbr>X86/vectorize.ll (original)<br>
+++ llvm/trunk/test/tools/gold/<wbr>X86/vectorize.ll Fri Aug 19 01:44:44 2016<br>
@@ -3,7 +3,7 @@<br>
; RUN: %gold -m elf_x86_64 -plugin %llvmshlibdir/LLVMgold.so \<br>
; RUN: --plugin-opt=save-temps \<br>
; RUN: -shared %t.o -o %t2.o<br>
-; RUN: llvm-dis %t2.o.4.opt.bc -o - | FileCheck %s<br>
+; RUN: llvm-dis %t2.o.0.4.opt.bc -o - | FileCheck %s<br>
<br>
; test that the vectorizer is run.<br>
; CHECK: fadd <4 x float><br>
<br>
Modified: llvm/trunk/test/tools/gold/<wbr>X86/visibility.ll<br>
URL: <a href="http://llvm.org/viewvc/llvm-project/llvm/trunk/test/tools/gold/X86/visibility.ll?rev=279214&r1=279213&r2=279214&view=diff" rel="noreferrer" target="_blank">http://llvm.org/viewvc/llvm-<wbr>project/llvm/trunk/test/tools/<wbr>gold/X86/visibility.ll?rev=<wbr>279214&r1=279213&r2=279214&<wbr>view=diff</a><br>
==============================<wbr>==============================<wbr>==================<br>
--- llvm/trunk/test/tools/gold/<wbr>X86/visibility.ll (original)<br>
+++ llvm/trunk/test/tools/gold/<wbr>X86/visibility.ll Fri Aug 19 01:44:44 2016<br>
@@ -5,7 +5,7 @@<br>
; RUN: --plugin-opt=save-temps \<br>
; RUN: -shared %t.o %t2.o -o %t.so<br>
; RUN: llvm-readobj -t %t.so | FileCheck %s<br>
-; RUN: llvm-dis %t.so.2.internalize.bc -o - | FileCheck --check-prefix=IR %s<br>
+; RUN: llvm-dis %t.so.0.2.internalize.bc -o - | FileCheck --check-prefix=IR %s<br>
<br>
; CHECK: Name: foo<br>
; CHECK-NEXT: Value:<br>
<br>
<br>
______________________________<wbr>_________________<br>
llvm-commits mailing list<br>
<a href="mailto:llvm-commits@lists.llvm.org">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/<wbr>mailman/listinfo/llvm-commits</a><br>
</blockquote></div><br></div>