Skip to content

Commit 50e4e38

Browse files
committed
LLVMgold.so: Fix tests after D95380
1 parent 039567b commit 50e4e38

File tree

5 files changed

+6
-6
lines changed

5 files changed

+6
-6
lines changed

llvm/test/tools/gold/X86/disable-verify.ll

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,12 +2,12 @@
22
; REQUIRES: asserts
33

44
; RUN: %gold -m elf_x86_64 -plugin %llvmshlibdir/LLVMgold%shlibext \
5-
; RUN: --plugin-opt=disable-verify \
5+
; RUN: --plugin-opt=disable-verify --plugin-opt=legacy-pass-manager \
66
; RUN: --plugin-opt=-debug-pass=Arguments \
77
; RUN: -shared %t.o -o %t2.o 2>&1 | FileCheck %s
88

99
; RUN: %gold -m elf_x86_64 -plugin %llvmshlibdir/LLVMgold%shlibext \
10-
; RUN: --plugin-opt=-debug-pass=Arguments \
10+
; RUN: --plugin-opt=-debug-pass=Arguments --plugin-opt=legacy-pass-manager \
1111
; RUN: -shared %t.o -o %t2.o 2>&1 | FileCheck %s -check-prefix=VERIFY
1212

1313
target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128"

llvm/test/tools/gold/X86/opt-level.ll

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
; RUN: -plugin-opt=O0 -r -o %t.o %t.bc
55
; RUN: llvm-dis < %t.o.0.4.opt.bc -o - | FileCheck --check-prefix=CHECK-O0 %s
66
; RUN: %gold -plugin %llvmshlibdir/LLVMgold%shlibext -plugin-opt=save-temps \
7-
; RUN: -m elf_x86_64 \
7+
; RUN: -m elf_x86_64 --plugin-opt=legacy-pass-manager \
88
; RUN: -plugin-opt=O1 -r -o %t.o %t.bc
99
; RUN: llvm-dis < %t.o.0.4.opt.bc -o - | FileCheck --check-prefix=CHECK-O1 --check-prefix=CHECK-O1-OLDPM %s
1010
; RUN: %gold -plugin %llvmshlibdir/LLVMgold%shlibext -plugin-opt=save-temps \

llvm/test/tools/gold/X86/opt-remarks.ll

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
; Test plugin options for opt-remarks.
22
; RUN: llvm-as %s -o %t.o
33
; RUN: %gold -m elf_x86_64 -plugin %llvmshlibdir/LLVMgold%shlibext -shared \
4-
; RUN: -plugin-opt=save-temps \
4+
; RUN: -plugin-opt=save-temps -plugin-opt=legacy-pass-manager \
55
; RUN: -plugin-opt=opt-remarks-passes=inline \
66
; RUN: -plugin-opt=opt-remarks-format=yaml \
77
; RUN: -plugin-opt=opt-remarks-filename=%t.yaml %t.o -o %t2.o 2>&1

llvm/test/tools/gold/X86/slp-vectorize.ll

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
; RUN: llvm-as %s -o %t.o
22

33
; RUN: %gold -m elf_x86_64 -plugin %llvmshlibdir/LLVMgold%shlibext \
4-
; RUN: --plugin-opt=save-temps \
4+
; RUN: --plugin-opt=save-temps --plugin-opt=legacy-pass-manager \
55
; RUN: -shared %t.o -o %t2.o
66
; RUN: llvm-dis %t2.o.0.4.opt.bc -o - | FileCheck %s
77

llvm/test/tools/gold/X86/vectorize.ll

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
; RUN: llvm-as %s -o %t.o
22

33
; RUN: %gold -m elf_x86_64 -plugin %llvmshlibdir/LLVMgold%shlibext \
4-
; RUN: --plugin-opt=save-temps \
4+
; RUN: --plugin-opt=save-temps --plugin-opt=legacy-pass-manager \
55
; RUN: -shared %t.o -o %t2.o
66
; RUN: llvm-dis %t2.o.0.4.opt.bc -o - | FileCheck %s
77

0 commit comments

Comments
 (0)