[llvm] c626e39 - [NFC] Port all CodeExtractor tests to `-passes=` syntax
Roman Lebedev via llvm-commits
llvm-commits at lists.llvm.org
Wed Dec 7 15:39:18 PST 2022
Author: Roman Lebedev
Date: 2022-12-08T02:38:41+03:00
New Revision: c626e395029a1d5c7194306b43eb05e004629eed
URL: https://github.com/llvm/llvm-project/commit/c626e395029a1d5c7194306b43eb05e004629eed
DIFF: https://github.com/llvm/llvm-project/commit/c626e395029a1d5c7194306b43eb05e004629eed.diff
LOG: [NFC] Port all CodeExtractor tests to `-passes=` syntax
Added:
Modified:
llvm/test/Transforms/CodeExtractor/PartialInlineLiveAcross.ll
llvm/test/Transforms/CodeExtractor/cost.ll
llvm/test/Transforms/CodeExtractor/cost_meta.ll
Removed:
################################################################################
diff --git a/llvm/test/Transforms/CodeExtractor/PartialInlineLiveAcross.ll b/llvm/test/Transforms/CodeExtractor/PartialInlineLiveAcross.ll
index 195d43141273c..2200cd2dab34d 100644
--- a/llvm/test/Transforms/CodeExtractor/PartialInlineLiveAcross.ll
+++ b/llvm/test/Transforms/CodeExtractor/PartialInlineLiveAcross.ll
@@ -1,4 +1,4 @@
-; RUN: opt -S -passes=partial-inliner -max-num-inline-blocks=2 -skip-partial-inlining-cost-analysis < %s | FileCheck %s
+; RUN: opt -S -passes=partial-inliner -max-num-inline-blocks=2 -skip-partial-inlining-cost-analysis < %s | FileCheck %s
; RUN: opt -S -passes=partial-inliner -max-num-inline-blocks=2 -skip-partial-inlining-cost-analysis < %s | FileCheck %s
define i32 @test(i32 %arg) local_unnamed_addr #0 {
bb:
diff --git a/llvm/test/Transforms/CodeExtractor/cost.ll b/llvm/test/Transforms/CodeExtractor/cost.ll
index 57b36ef2805c7..92836347ad3db 100644
--- a/llvm/test/Transforms/CodeExtractor/cost.ll
+++ b/llvm/test/Transforms/CodeExtractor/cost.ll
@@ -1,5 +1,5 @@
-; RUN: opt -S < %s -passes=partial-inliner -partial-inlining-extra-penalty=10 | FileCheck %s
-; RUN: opt -S < %s -passes=partial-inliner -partial-inlining-extra-penalty=10 | FileCheck %s
+; RUN: opt -S < %s -passes=partial-inliner -partial-inlining-extra-penalty=10 | FileCheck %s
+; RUN: opt -S < %s -passes=partial-inliner -partial-inlining-extra-penalty=10 | FileCheck %s
define i32 @outline_region_notlikely(i32* %arg) local_unnamed_addr {
bb:
; ptr != null is predicted to be true
diff --git a/llvm/test/Transforms/CodeExtractor/cost_meta.ll b/llvm/test/Transforms/CodeExtractor/cost_meta.ll
index 5bdeb84283020..e0e7325b7d6b4 100644
--- a/llvm/test/Transforms/CodeExtractor/cost_meta.ll
+++ b/llvm/test/Transforms/CodeExtractor/cost_meta.ll
@@ -1,5 +1,5 @@
-; RUN: opt -S < %s -passes=partial-inliner -partial-inlining-extra-penalty=2000 | FileCheck %s
-; RUN: opt -S < %s -passes=partial-inliner -partial-inlining-extra-penalty=2000 | FileCheck %s
+; RUN: opt -S < %s -passes=partial-inliner -partial-inlining-extra-penalty=2000 | FileCheck %s
+; RUN: opt -S < %s -passes=partial-inliner -partial-inlining-extra-penalty=2000 | FileCheck %s
define i32 @outline_region_notlikely(i32* %arg) local_unnamed_addr {
bb:
; ptr != null is predicted to be true
More information about the llvm-commits
mailing list