[llvm] ccab5b7 - [NFC] Port all DeadArgElim tests to `-passes=` syntax

Roman Lebedev via llvm-commits llvm-commits at lists.llvm.org
Wed Dec 7 15:39:30 PST 2022


Author: Roman Lebedev
Date: 2022-12-08T02:38:41+03:00
New Revision: ccab5b7a3999d551abbd8a4507dc81271e4a92a6

URL: https://github.com/llvm/llvm-project/commit/ccab5b7a3999d551abbd8a4507dc81271e4a92a6
DIFF: https://github.com/llvm/llvm-project/commit/ccab5b7a3999d551abbd8a4507dc81271e4a92a6.diff

LOG: [NFC] Port all DeadArgElim tests to `-passes=` syntax

Added: 
    

Modified: 
    llvm/test/Transforms/DeadArgElim/dbginfo.ll
    llvm/test/Transforms/DeadArgElim/fct_ptr.ll

Removed: 
    


################################################################################
diff  --git a/llvm/test/Transforms/DeadArgElim/dbginfo.ll b/llvm/test/Transforms/DeadArgElim/dbginfo.ll
index 6abd12af01c72..a27ca9dd70c24 100644
--- a/llvm/test/Transforms/DeadArgElim/dbginfo.ll
+++ b/llvm/test/Transforms/DeadArgElim/dbginfo.ll
@@ -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, ...) {
 ; }
 ;

diff  --git a/llvm/test/Transforms/DeadArgElim/fct_ptr.ll b/llvm/test/Transforms/DeadArgElim/fct_ptr.ll
index 752c77204cfdd..b48f8a63119a8 100644
--- a/llvm/test/Transforms/DeadArgElim/fct_ptr.ll
+++ b/llvm/test/Transforms/DeadArgElim/fct_ptr.ll
@@ -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).


        


More information about the llvm-commits mailing list