-; RUN: opt -temporarily-allow-old-pass-syntax -S -inline < %s | FileCheck %s
+; RUN: opt -S -passes='cgscc(inline)' < %s | FileCheck %s
; Check that the inliner does not inline through arbitrary unknown
; operand bundles.
-; RUN: opt -temporarily-allow-old-pass-syntax -S -always-inline -mtriple=x86_64-windows-msvc < %s | FileCheck %s
+; RUN: opt -S -passes=always-inline -mtriple=x86_64-windows-msvc < %s | FileCheck %s
; WinEH requires funclet tokens on nounwind intrinsics if they can lower to
; regular function calls in the course of IR transformations.
-; RUN: opt -temporarily-allow-old-pass-syntax -S -mergefunc < %s | FileCheck %s
+; RUN: opt -S -passes=mergefunc < %s | FileCheck %s
; Minor note: functions need to be at least three instructions long
; to be considered by -mergefunc.
-; RUN: opt -temporarily-allow-old-pass-syntax -instcombine -S < %s | llvm-as
-; RUN: opt -temporarily-allow-old-pass-syntax -instcombine -globalopt -temporarily-allow-old-pass-syntax -S < %s | llvm-as
+; RUN: opt -passes=instcombine -S < %s | llvm-as
+; RUN: opt -passes='function(instcombine),globalopt' -S < %s | llvm-as
@G1 = global i32 zeroinitializer
@G2 = global i32 zeroinitializer
@g = global <2 x i32*> zeroinitializer