Skip to content

Commit 4dd6a3f

Browse files
committed
[NFC] Port last few Other tests to -passes= syntax
1 parent 9264976 commit 4dd6a3f

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

llvm/test/Other/opt-On.ll

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
; RUN: not opt -O1 -O2 < %s 2>&1 | FileCheck %s --check-prefix=MULTIPLE
22
; RUN: not opt -O1 -passes='no-op-module' < %s 2>&1 | FileCheck %s --check-prefix=BOTH
3-
; RUN: not opt -O1 --gvn < %s 2>&1 | FileCheck %s --check-prefix=BOTH
3+
; RUN: not opt -O1 -passes=gvn < %s 2>&1 | FileCheck %s --check-prefix=BOTH
44
; RUN: opt -O0 < %s -S 2>&1 | FileCheck %s --check-prefix=OPT
55
; RUN: opt -O1 < %s -S 2>&1 | FileCheck %s --check-prefix=OPT
66
; RUN: opt -O2 < %s -S 2>&1 | FileCheck %s --check-prefix=OPT

llvm/test/Other/scalable-vector-array.ll

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
; RUN: not opt -S -verify < %s 2>&1 | FileCheck %s
1+
; RUN: not opt -S -passes=verify < %s 2>&1 | FileCheck %s
22

33
;; Arrays cannot contain scalable vectors; make sure we detect them even
44
;; when nested inside other aggregates.

0 commit comments

Comments
 (0)