[NFC] Port all DeadArgElim tests to `-passes=` syntax
authorRoman Lebedev <lebedev.ri@gmail.com>
Wed, 7 Dec 2022 23:27:18 +0000 (02:27 +0300)
committerRoman Lebedev <lebedev.ri@gmail.com>
Wed, 7 Dec 2022 23:38:41 +0000 (02:38 +0300)
llvm/test/Transforms/DeadArgElim/dbginfo.ll
llvm/test/Transforms/DeadArgElim/fct_ptr.ll

index 6abd12a..a27ca9d 100644 (file)
@@ -1,7 +1,7 @@
 ; RUN: opt -passes=deadargelim -S < %s | FileCheck %s
 ; PR14016
 
-; Built with clang (then manually running -mem2reg with opt) from the following source:
+; Built with clang (then manually running -passes=mem2reg with opt) from the following source:
 ; static void f1(int, ...) {
 ; }
 ;
index 752c772..b48f8a6 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt -S %s -deadargelim -o - | FileCheck %s
+; RUN: opt -S %s -passes=deadargelim -o - | FileCheck %s
 ; In that test @internal_fct is used by an instruction
 ; we don't know how to rewrite (the comparison that produces
 ; %cmp1).