[PATCH] D114518: [test] Use -passes syntax in Feature/OperandBundles lit tests

Bjorn Pettersson via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Sat Nov 27 01:13:39 PST 2021


This revision was automatically updated to reflect the committed changes.
Closed by commit rG00cf717f51d7: [test] Use -passes syntax in Feature/OperandBundles lit tests (authored by bjope).

Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D114518/new/

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.390147.patch
Type: text/x-patch
Size: 1784 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20211127/8051b3e7/attachment.bin>


More information about the llvm-commits mailing list