[NFC] Port all Analysis/Dominators tests to `-passes=` syntax
authorRoman Lebedev <lebedev.ri@gmail.com>
Thu, 8 Dec 2022 21:49:38 +0000 (00:49 +0300)
committerRoman Lebedev <lebedev.ri@gmail.com>
Thu, 8 Dec 2022 22:04:44 +0000 (01:04 +0300)
llvm/test/Analysis/Dominators/2007-07-11-SplitBlock.ll
llvm/test/Analysis/Dominators/2007-07-12-SplitBlock.ll
llvm/test/Analysis/Dominators/invoke.ll

index 06c9bbb..33f3e90 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt -temporarily-allow-old-pass-syntax < %s -loop-rotate -simple-loop-unswitch -disable-output
+; RUN: opt < %s -passes=loop-rotate,simple-loop-unswitch -disable-output
 
 define i32 @stringSearch_Clib(i32 %count) {
 entry:
index 77ea8e0..a59bdf5 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt -temporarily-allow-old-pass-syntax < %s -loop-rotate -licm -simple-loop-unswitch -disable-output
+; RUN: opt < %s -passes='loop-mssa(loop-rotate,licm,simple-loop-unswitch)' -disable-output
 
 define i32 @main(i32 %argc, i8** %argv) {
 entry:
index 9487d6a..383d402 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt -temporarily-allow-old-pass-syntax -verify -disable-output < %s
+; RUN: opt -passes=verify -disable-output < %s
 ; This tests that we handle unreachable blocks correctly
 
 define void @f() personality i8* bitcast (i32 (...)* @__gxx_personality_v0 to i8*) {