[NFC] Port all Bitcode tests to `-passes=` syntax
authorRoman Lebedev <lebedev.ri@gmail.com>
Thu, 8 Dec 2022 21:50:33 +0000 (00:50 +0300)
committerRoman Lebedev <lebedev.ri@gmail.com>
Thu, 8 Dec 2022 22:04:45 +0000 (01:04 +0300)
llvm/test/Bitcode/compatibility-6.0.ll
llvm/test/Bitcode/extractelement.ll
llvm/test/Bitcode/infer_dso_local.ll

index f17e621..c05b5c7 100644 (file)
@@ -3,7 +3,7 @@
 ; N.b: This is 6.0-compatible IR. The CHECK lines occasionally differ from
 ;      the IR used to generate the bitcode, and may need to be updated.
 
-; RUN: opt -temporarily-allow-old-pass-syntax -verify -disable-output < %s.bc
+; RUN: opt -passes=verify -disable-output < %s.bc
 ; RUN: llvm-dis < %s.bc | FileCheck %s
 
 target datalayout = "E"
index 57f755d..ca52a02 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt -temporarily-allow-old-pass-syntax < %s -instsimplify | llvm-dis -disable-output
+; RUN: opt < %s -passes=instsimplify | llvm-dis -disable-output
 ; RUN: verify-uselistorder < %s
 ; PR3465
 
index 5fe20d1..1843c64 100644 (file)
@@ -1,3 +1,3 @@
-; RUN: opt -temporarily-allow-old-pass-syntax -verify %S/Inputs/infer_dso_local.bc | llvm-dis | FileCheck %s
+; RUN: opt -passes=verify %S/Inputs/infer_dso_local.bc | llvm-dis | FileCheck %s
 
 ; CHECK: define linkonce_odr hidden void @test()