[PATCH] D114518: [test] Use -passes syntax in Feature/OperandBundles lit tests
Bjorn Pettersson via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed Nov 24 01:49:43 PST 2021
bjope created this revision.
bjope added a reviewer: aeubanks.
bjope requested review of this revision.
Herald added a project: LLVM.
Simply use the new PM syntax instead of the deprecated legacy PM
syntax when specifying the opt pipeline in some regression tests.
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D114518
Files:
llvm/test/Feature/OperandBundles/adce.ll
llvm/test/Feature/OperandBundles/basic-aa-argmemonly.ll
llvm/test/Feature/OperandBundles/dse.ll
llvm/test/Feature/OperandBundles/early-cse.ll
Index: llvm/test/Feature/OperandBundles/early-cse.ll
===================================================================
--- llvm/test/Feature/OperandBundles/early-cse.ll
+++ llvm/test/Feature/OperandBundles/early-cse.ll
@@ -1,4 +1,4 @@
-; RUN: opt -S -early-cse -earlycse-debug-hash < %s | FileCheck %s
+; RUN: opt -S -passes=early-cse -earlycse-debug-hash < %s | FileCheck %s
; While it is normally okay to do memory optimizations over calls to
; @readonly_function and @readnone_function, we cannot do that if
Index: llvm/test/Feature/OperandBundles/dse.ll
===================================================================
--- llvm/test/Feature/OperandBundles/dse.ll
+++ llvm/test/Feature/OperandBundles/dse.ll
@@ -1,4 +1,4 @@
-; RUN: opt -S -dse < %s | FileCheck %s
+; RUN: opt -S -passes=dse < %s | FileCheck %s
declare void @f()
declare noalias i8* @malloc(i32) nounwind
Index: llvm/test/Feature/OperandBundles/basic-aa-argmemonly.ll
===================================================================
--- llvm/test/Feature/OperandBundles/basic-aa-argmemonly.ll
+++ llvm/test/Feature/OperandBundles/basic-aa-argmemonly.ll
@@ -1,4 +1,4 @@
-; RUN: opt -S -basic-aa -gvn < %s | FileCheck %s
+; RUN: opt -S -aa-pipeline=basic-aa -passes=gvn < %s | FileCheck %s
declare void @argmemonly_function(i32 *) argmemonly
Index: llvm/test/Feature/OperandBundles/adce.ll
===================================================================
--- llvm/test/Feature/OperandBundles/adce.ll
+++ llvm/test/Feature/OperandBundles/adce.ll
@@ -1,4 +1,4 @@
-; RUN: opt -S -adce < %s | FileCheck %s
+; RUN: opt -S -passes=adce < %s | FileCheck %s
; While it is normally okay to DCE out calls to @readonly_function and
; @readnone_function, we cannot do that if they're carrying operand
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D114518.389428.patch
Type: text/x-patch
Size: 1784 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20211124/6d413d33/attachment.bin>
More information about the llvm-commits
mailing list