[llvm] 6890a26 - [NFC] Port all Bitcode tests to `-passes=` syntax
Roman Lebedev via llvm-commits
llvm-commits at lists.llvm.org
Thu Dec 8 14:05:48 PST 2022
Author: Roman Lebedev
Date: 2022-12-09T01:04:45+03:00
New Revision: 6890a26974bee4333194a9400e9e1163c48e8dda
URL: https://github.com/llvm/llvm-project/commit/6890a26974bee4333194a9400e9e1163c48e8dda
DIFF: https://github.com/llvm/llvm-project/commit/6890a26974bee4333194a9400e9e1163c48e8dda.diff
LOG: [NFC] Port all Bitcode tests to `-passes=` syntax
Added:
Modified:
llvm/test/Bitcode/compatibility-6.0.ll
llvm/test/Bitcode/extractelement.ll
llvm/test/Bitcode/infer_dso_local.ll
Removed:
################################################################################
diff --git a/llvm/test/Bitcode/compatibility-6.0.ll b/llvm/test/Bitcode/compatibility-6.0.ll
index f17e6215dff8b..c05b5c7f4c560 100644
--- a/llvm/test/Bitcode/compatibility-6.0.ll
+++ b/llvm/test/Bitcode/compatibility-6.0.ll
@@ -3,7 +3,7 @@
; N.b: This is 6.0-compatible IR. The CHECK lines occasionally
diff er 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"
diff --git a/llvm/test/Bitcode/extractelement.ll b/llvm/test/Bitcode/extractelement.ll
index 57f755ddf2535..ca52a02a8e188 100644
--- a/llvm/test/Bitcode/extractelement.ll
+++ b/llvm/test/Bitcode/extractelement.ll
@@ -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
diff --git a/llvm/test/Bitcode/infer_dso_local.ll b/llvm/test/Bitcode/infer_dso_local.ll
index 5fe20d1a02026..1843c6445e58c 100644
--- a/llvm/test/Bitcode/infer_dso_local.ll
+++ b/llvm/test/Bitcode/infer_dso_local.ll
@@ -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()
More information about the llvm-commits
mailing list