Skip to content

Commit

Permalink
[NFC] Port all CodeExtractor tests to -passes= syntax
Browse files Browse the repository at this point in the history
  • Loading branch information
LebedevRI committed Dec 7, 2022
1 parent 6db544e commit c626e39
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
@@ -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:
Expand Down
4 changes: 2 additions & 2 deletions 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
Expand Down
4 changes: 2 additions & 2 deletions 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
Expand Down

0 comments on commit c626e39

Please sign in to comment.