Skip to content

Commit 6b3c2ae

Browse files
committed
[NFC] Port codegen Thumb tests that invoke opt to -passes= syntax
1 parent 5353b76 commit 6b3c2ae

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

llvm/test/CodeGen/Thumb/consthoist-few-dependents.ll

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
1-
; RUN: opt -temporarily-allow-old-pass-syntax -consthoist -S %s -o - | FileCheck %s --check-prefix=OPT
2-
; RUN: opt -temporarily-allow-old-pass-syntax -consthoist -S -consthoist-min-num-to-rebase=1 %s -o - | FileCheck %s --check-prefix=OPT --check-prefix=OPT-1
3-
; RUN: opt -temporarily-allow-old-pass-syntax -consthoist -S -consthoist-min-num-to-rebase=2 %s -o - | FileCheck %s --check-prefix=OPT --check-prefix=OPT-2
4-
; RUN: opt -temporarily-allow-old-pass-syntax -consthoist -S -consthoist-min-num-to-rebase=3 %s -o - | FileCheck %s --check-prefix=OPT --check-prefix=OPT-3
1+
; RUN: opt -passes=consthoist -S %s -o - | FileCheck %s --check-prefix=OPT
2+
; RUN: opt -passes=consthoist -S -consthoist-min-num-to-rebase=1 %s -o - | FileCheck %s --check-prefix=OPT --check-prefix=OPT-1
3+
; RUN: opt -passes=consthoist -S -consthoist-min-num-to-rebase=2 %s -o - | FileCheck %s --check-prefix=OPT --check-prefix=OPT-2
4+
; RUN: opt -passes=consthoist -S -consthoist-min-num-to-rebase=3 %s -o - | FileCheck %s --check-prefix=OPT --check-prefix=OPT-3
55

66
; RUN: llc -consthoist-min-num-to-rebase=2 %s -o - | FileCheck %s --check-prefix=LLC
77

0 commit comments

Comments
 (0)