-; RUN: opt -temporarily-allow-old-pass-syntax -verify -disable-output <%s 2>&1 | FileCheck %s
+; RUN: opt -passes=verify -disable-output <%s 2>&1 | FileCheck %s
;
; This test creates an invalid vector by defining multiple elements for the
; vector's DICompositeType definition. A vector should only have one element
-; RUN: opt -temporarily-allow-old-pass-syntax %s -verify 2>&1 | FileCheck %s
+; RUN: opt %s -passes=verify 2>&1 | FileCheck %s
; CHECK: invalid type
; CHECK: !20 = !DILocalVariable(name: "f", scope: !21, file: !13, line: 970, type: !14)
; CHECK: !14 = !DISubroutineType(types: !15)
-; RUN: opt -temporarily-allow-old-pass-syntax -verify -S < %s 2>&1 | FileCheck --check-prefix=CHECK1 %s
-; RUN: sed -e s/.T2:// %s | not opt -temporarily-allow-old-pass-syntax -verify -disable-output 2>&1 | FileCheck --check-prefix=CHECK2 %s
-; RUN: sed -e s/.T3:// %s | not opt -temporarily-allow-old-pass-syntax -verify -disable-output 2>&1 | FileCheck --check-prefix=CHECK3 %s
-; RUN: sed -e s/.T4:// %s | not opt -temporarily-allow-old-pass-syntax -verify -disable-output 2>&1 | FileCheck --check-prefix=CHECK4 %s
-; RUN: sed -e s/.T5:// %s | not opt -temporarily-allow-old-pass-syntax -verify -disable-output 2>&1 | FileCheck --check-prefix=CHECK5 %s
+; RUN: opt -passes=verify -S < %s 2>&1 | FileCheck --check-prefix=CHECK1 %s
+; RUN: sed -e s/.T2:// %s | not opt -passes=verify -disable-output 2>&1 | FileCheck --check-prefix=CHECK2 %s
+; RUN: sed -e s/.T3:// %s | not opt -passes=verify -disable-output 2>&1 | FileCheck --check-prefix=CHECK3 %s
+; RUN: sed -e s/.T4:// %s | not opt -passes=verify -disable-output 2>&1 | FileCheck --check-prefix=CHECK4 %s
+; RUN: sed -e s/.T5:// %s | not opt -passes=verify -disable-output 2>&1 | FileCheck --check-prefix=CHECK5 %s
; Common declarations used for all runs.
declare double @llvm.experimental.constrained.fadd.f64(double, double, metadata, metadata)
; NOTE: Assertions have been autogenerated by utils/update_test_checks.py
-; RUN: opt -temporarily-allow-old-pass-syntax -verify -S < %s 2>&1 | FileCheck %s
+; RUN: opt -passes=verify -S < %s 2>&1 | FileCheck %s
target datalayout = "e-ni:4:6"
-; RUN: opt -temporarily-allow-old-pass-syntax -S %s -verify
+; RUN: opt -S %s -passes=verify
declare token @llvm.call.preallocated.setup(i32)
declare i8* @llvm.call.preallocated.arg(token, i32)
-; RUN: opt -temporarily-allow-old-pass-syntax -verify < %s
+; RUN: opt -passes=verify < %s
%struct.__sFILE = type { %struct.__sFILE }
-; RUN: opt -temporarily-allow-old-pass-syntax -S %s -verify | FileCheck %s
+; RUN: opt -S %s -passes=verify | FileCheck %s
declare void @use(...)
declare i8 addrspace(1)* @llvm.experimental.gc.relocate.p1i8(token, i32, i32)
-; RUN: opt -temporarily-allow-old-pass-syntax -verify %s
+; RUN: opt -passes=verify %s
define swifttailcc void @valid_attrs(i64* sret(i64) %ret, i8* byval(i8) %byval, i8* swiftself %self, i8* swiftasync %ctx) {
musttail call swifttailcc void @valid_attrs(i64* sret(i64) %ret, i8* byval(i8) %byval, i8* swiftself %self, i8* swiftasync %ctx)
; RUN: not llvm-as < %s 2>&1 | FileCheck %s
-; RUN: llvm-as -disable-verify < %s | opt -temporarily-allow-old-pass-syntax -verify -S | FileCheck %s --check-prefix=STRIP
+; RUN: llvm-as -disable-verify < %s | opt -passes=verify -S | FileCheck %s --check-prefix=STRIP
; STRIP-NOT: tbaa
; STRIP: @f_0
-; RUN: opt -temporarily-allow-old-pass-syntax --verify --disable-output %s
+; RUN: opt -passes=verify --disable-output %s
define void @test_vp_int(<8 x i32> %i0, <8 x i32> %i1, <8 x i1> %m, i32 %n) {
%r0 = call <8 x i32> @llvm.vp.add.v8i32(<8 x i32> %i0, <8 x i32> %i1, <8 x i1> %m, i32 %n)
-; RUN: opt -temporarily-allow-old-pass-syntax -verify < %s 2>&1 | FileCheck %s
+; RUN: opt -passes=verify < %s 2>&1 | FileCheck %s
; CHECK-NOT: Global is marked as dllimport, but not external
target datalayout = "e-m:w-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"