mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-01-31 20:51:52 +01:00
Fix tests in llvm/test/tools/gold/X86 to satisfy r279014.
They would unexpectedly pass if test/tools/gold/X86/Output had outputs of previous tests. llvm-svn: 279214
This commit is contained in:
parent
2a61ffbc5a
commit
98adbd995b
@ -9,9 +9,9 @@
|
||||
; RUN: -m elf_x86_64 --plugin-opt=save-temps \
|
||||
; RUN: -shared %t.o -o %t3.o
|
||||
; RUN: FileCheck --check-prefix=RES %s < %t3.o.resolution.txt
|
||||
; RUN: llvm-dis %t3.o.2.internalize.bc -o - | FileCheck %s
|
||||
; RUN: llvm-dis %t3.o.4.opt.bc -o - | FileCheck --check-prefix=OPT %s
|
||||
; RUN: llvm-dis %t3.o.4.opt.bc -o - | FileCheck --check-prefix=OPT2 %s
|
||||
; RUN: llvm-dis %t3.o.0.2.internalize.bc -o - | FileCheck %s
|
||||
; RUN: llvm-dis %t3.o.0.4.opt.bc -o - | FileCheck --check-prefix=OPT %s
|
||||
; RUN: llvm-dis %t3.o.0.4.opt.bc -o - | FileCheck --check-prefix=OPT2 %s
|
||||
; RUN: llvm-nm %t3.o.o | FileCheck --check-prefix=NM %s
|
||||
|
||||
; RUN: rm -f %t4.o
|
||||
|
@ -1,7 +1,7 @@
|
||||
; RUN: llvm-as -o %t.bc %s
|
||||
; RUN: rm -f %t.opt.bc0 %t.opt.bc1 %t.o0 %t.o1
|
||||
; RUN: env LD_PRELOAD=%llvmshlibdir/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
|
||||
; RUN: llvm-dis %t.5.precodegen.bc -o - | FileCheck --check-prefix=CHECK-BC0 %s
|
||||
; RUN: llvm-dis %t.0.5.precodegen.bc -o - | FileCheck --check-prefix=CHECK-BC0 %s
|
||||
; RUN: llvm-dis %t.1.5.precodegen.bc -o - | FileCheck --check-prefix=CHECK-BC1 %s
|
||||
; RUN: llvm-nm %t.o0 | FileCheck --check-prefix=CHECK0 %s
|
||||
; RUN: llvm-nm %t.o1 | FileCheck --check-prefix=CHECK1 %s
|
||||
|
@ -3,7 +3,7 @@
|
||||
; RUN: %gold -m elf_x86_64 -plugin %llvmshlibdir/LLVMgold.so \
|
||||
; RUN: --plugin-opt=save-temps \
|
||||
; RUN: -shared %t.o -o %t2.o
|
||||
; RUN: llvm-dis %t2.o.4.opt.bc -o - | FileCheck %s
|
||||
; RUN: llvm-dis %t2.o.0.4.opt.bc -o - | FileCheck %s
|
||||
|
||||
; test that the vectorizer is run.
|
||||
; CHECK: fadd <4 x float>
|
||||
|
@ -3,7 +3,7 @@
|
||||
; RUN: %gold -plugin %llvmshlibdir/LLVMgold.so \
|
||||
; RUN: --plugin-opt=save-temps \
|
||||
; RUN: -shared %t.o -o %t2.o
|
||||
; RUN: llvm-dis %t2.o.2.internalize.bc -o - | FileCheck %s
|
||||
; RUN: llvm-dis %t2.o.0.2.internalize.bc -o - | FileCheck %s
|
||||
|
||||
; RUN: %gold -plugin %llvmshlibdir/LLVMgold.so \
|
||||
; RUN: --plugin-opt=emit-llvm \
|
||||
|
@ -3,7 +3,7 @@
|
||||
; RUN: %gold -plugin %llvmshlibdir/LLVMgold.so \
|
||||
; RUN: --plugin-opt=save-temps \
|
||||
; RUN: -shared %t.o %t2.o -o %t3.o
|
||||
; RUN: llvm-dis %t3.o.2.internalize.bc -o - | FileCheck %s
|
||||
; RUN: llvm-dis %t3.o.0.2.internalize.bc -o - | FileCheck %s
|
||||
|
||||
%zed = type { i8 }
|
||||
define void @foo() {
|
||||
|
@ -3,7 +3,7 @@
|
||||
; RUN: %gold -m elf_x86_64 -plugin %llvmshlibdir/LLVMgold.so \
|
||||
; RUN: --plugin-opt=save-temps \
|
||||
; RUN: -shared %t.o -o %t2.o
|
||||
; RUN: llvm-dis %t2.o.4.opt.bc -o - | FileCheck %s
|
||||
; RUN: llvm-dis %t2.o.0.4.opt.bc -o - | FileCheck %s
|
||||
|
||||
; test that the vectorizer is run.
|
||||
; CHECK: fadd <4 x float>
|
||||
|
@ -5,7 +5,7 @@
|
||||
; RUN: --plugin-opt=save-temps \
|
||||
; RUN: -shared %t.o %t2.o -o %t.so
|
||||
; RUN: llvm-readobj -t %t.so | FileCheck %s
|
||||
; RUN: llvm-dis %t.so.2.internalize.bc -o - | FileCheck --check-prefix=IR %s
|
||||
; RUN: llvm-dis %t.so.0.2.internalize.bc -o - | FileCheck --check-prefix=IR %s
|
||||
|
||||
; CHECK: Name: foo
|
||||
; CHECK-NEXT: Value:
|
||||
|
Loading…
x
Reference in New Issue
Block a user