-; RUN: opt -temporarily-allow-old-pass-syntax -disable-basic-aa -loop-rotate -verify-memoryssa -S %s | FileCheck %s
+; RUN: opt -disable-basic-aa -passes=loop-rotate -verify-memoryssa -S %s | FileCheck %s
; REQUIRES: asserts
; CHECK-LABEL: @f_w4_i2
-; RUN: opt -temporarily-allow-old-pass-syntax -disable-output -loop-rotate -verify-memoryssa %s
+; RUN: opt -disable-output -passes=loop-rotate -verify-memoryssa %s
; REQUIRES: asserts
; Function Attrs: nounwind
-; RUN: opt -temporarily-allow-old-pass-syntax -verify-memoryssa -loop-rotate %s -S | FileCheck %s
+; RUN: opt -verify-memoryssa -passes=loop-rotate %s -S | FileCheck %s
; REQUIRES: asserts
; CHECK-LABEL: @test()
-; RUN: opt -temporarily-allow-old-pass-syntax -loop-rotate %s -S | FileCheck %s
+; RUN: opt -passes=loop-rotate %s -S | FileCheck %s
; REQUIRES: asserts
; Check that loop rotate keeps proper mapping between cloned instructions,
-; RUN: opt -temporarily-allow-old-pass-syntax -S -simple-loop-unswitch -disable-basic-aa -verify-memoryssa < %s | FileCheck %s
+; RUN: opt -S -passes=simple-loop-unswitch -disable-basic-aa -verify-memoryssa < %s | FileCheck %s
; REQUIRES: asserts
target triple = "x86_64-unknown-linux-gnu"
-; RUN: opt -temporarily-allow-old-pass-syntax -simplifycfg -S --preserve-ll-uselistorder %s | FileCheck %s
+; RUN: opt -passes=simplifycfg -S --preserve-ll-uselistorder %s | FileCheck %s
; REQUIRES: x86-registered-target
; CHECK-LABEL: @n
; CHECK: uselistorder i16 0, { 3, 2, 4, 1, 5, 0, 6 }
; REQUIRES: asserts
-; RUN: opt -temporarily-allow-old-pass-syntax -S -simple-loop-unswitch -verify-memoryssa < %s | FileCheck %s
+; RUN: opt -S -passes=simple-loop-unswitch -verify-memoryssa < %s | FileCheck %s
target datalayout = "E-m:e-i1:8:16-i8:8:16-i64:64-f128:64-v128:64-a:8:16-n32:64"
target triple = "s390x-ibm-linux"
-; RUN: opt -temporarily-allow-old-pass-syntax -S -licm -simple-loop-unswitch -verify-memoryssa %s | FileCheck %s
+; RUN: opt -S -passes=licm,simple-loop-unswitch -verify-memoryssa %s | FileCheck %s
; REQUIRES: asserts
target datalayout = "E-m:e-i1:8:16-i8:8:16-i64:64-f128:64-v128:64-a:8:16-n32:64"
target triple = "s390x-ibm-linux"
; REQUIRES: asserts
-; RUN: opt -temporarily-allow-old-pass-syntax -loop-rotate -licm %s -disable-output -debug-only=licm 2>&1 | FileCheck %s -check-prefix=LICM
-; RUN: opt -temporarily-allow-old-pass-syntax -loop-rotate -licm %s -S | FileCheck %s
+; RUN: opt -passes='loop-mssa(loop-rotate,licm)' %s -disable-output -debug-only=licm 2>&1 | FileCheck %s -check-prefix=LICM
+; RUN: opt -passes='loop-mssa(loop-rotate,licm)' %s -S | FileCheck %s
; LICM-NOT: LICM sinking instruction: %.pre = load i8, ptr %arrayidx.phi.trans.insert
-; RUN: opt -temporarily-allow-old-pass-syntax -loop-rotate -licm -verify-memoryssa %s -S | FileCheck %s
+; RUN: opt -passes='loop-mssa(loop-rotate,licm)' -verify-memoryssa %s -S | FileCheck %s
; REQUIRES: asserts
target datalayout = "E-m:e-i1:8:16-i8:8:16-i64:64-f128:64-v128:64-a:8:16-n32:64"
-; RUN: opt -temporarily-allow-old-pass-syntax -simple-loop-unswitch -enable-nontrivial-unswitch -verify-memoryssa -S < %s | FileCheck %s
+; RUN: opt -passes=simple-loop-unswitch -enable-nontrivial-unswitch -verify-memoryssa -S < %s | FileCheck %s
; REQUIRES: asserts
; CHECK-LABEL: @c
-; RUN: opt -temporarily-allow-old-pass-syntax -loop-simplifycfg -verify-memoryssa -S < %s | FileCheck %s
+; RUN: opt -passes=loop-simplifycfg -verify-memoryssa -S < %s | FileCheck %s
; REQUIRES: asserts
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
-; RUN: opt -temporarily-allow-old-pass-syntax -loop-instsimplify -loop-simplifycfg -licm -simple-loop-unswitch -enable-nontrivial-unswitch %s -disable-output
+; RUN: opt -passes='loop-mssa(loop-instsimplify,loop-simplifycfg,licm,simple-loop-unswitch)' -enable-nontrivial-unswitch %s -disable-output
; REQUIRES: asserts
%0 = type { i24, i32, i32, i8 }
-; RUN: opt -temporarily-allow-old-pass-syntax -simple-loop-unswitch -enable-nontrivial-unswitch -verify-memoryssa -S %s | FileCheck %s
+; RUN: opt -passes=simple-loop-unswitch -enable-nontrivial-unswitch -verify-memoryssa -S %s | FileCheck %s
; REQUIRES: asserts
target triple = "x86_64-unknown-linux-gnu"