File tree Expand file tree Collapse file tree 5 files changed +6
-6
lines changed Expand file tree Collapse file tree 5 files changed +6
-6
lines changed Original file line number Diff line number Diff line change 2
2
; REQUIRES: asserts
3
3
4
4
; 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 \
6
6
; RUN: --plugin-opt=-debug-pass=Arguments \
7
7
; RUN: -shared %t.o -o %t2.o 2>&1 | FileCheck %s
8
8
9
9
; 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 \
11
11
; RUN: -shared %t.o -o %t2.o 2>&1 | FileCheck %s -check-prefix=VERIFY
12
12
13
13
target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128"
Original file line number Diff line number Diff line change 4
4
; RUN: -plugin-opt=O0 -r -o %t.o %t.bc
5
5
; RUN: llvm-dis < %t.o.0.4.opt.bc -o - | FileCheck --check-prefix=CHECK-O0 %s
6
6
; 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 \
8
8
; RUN: -plugin-opt=O1 -r -o %t.o %t.bc
9
9
; RUN: llvm-dis < %t.o.0.4.opt.bc -o - | FileCheck --check-prefix=CHECK-O1 --check-prefix=CHECK-O1-OLDPM %s
10
10
; RUN: %gold -plugin %llvmshlibdir/LLVMgold%shlibext -plugin-opt=save-temps \
Original file line number Diff line number Diff line change 1
1
; Test plugin options for opt-remarks.
2
2
; RUN: llvm-as %s -o %t.o
3
3
; 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 \
5
5
; RUN: -plugin-opt=opt-remarks-passes=inline \
6
6
; RUN: -plugin-opt=opt-remarks-format=yaml \
7
7
; RUN: -plugin-opt=opt-remarks-filename=%t.yaml %t.o -o %t2.o 2>&1
Original file line number Diff line number Diff line change 1
1
; RUN: llvm-as %s -o %t.o
2
2
3
3
; 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 \
5
5
; RUN: -shared %t.o -o %t2.o
6
6
; RUN: llvm-dis %t2.o.0.4.opt.bc -o - | FileCheck %s
7
7
Original file line number Diff line number Diff line change 1
1
; RUN: llvm-as %s -o %t.o
2
2
3
3
; 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 \
5
5
; RUN: -shared %t.o -o %t2.o
6
6
; RUN: llvm-dis %t2.o.0.4.opt.bc -o - | FileCheck %s
7
7
You can’t perform that action at this time.
0 commit comments