4 changes: 2 additions & 2 deletions llvm/test/Transforms/SCCP/widening.ll
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
; NOTE: Assertions have been autogenerated by utils/update_test_checks.py
; RUN: opt %s -sccp -S | FileCheck --check-prefix=SCCP %s
; RUN: opt %s -ipsccp -S | FileCheck --check-prefix=IPSCCP %s
; RUN: opt %s -passes=sccp -S | FileCheck --check-prefix=SCCP %s
; RUN: opt %s -passes=ipsccp -S | FileCheck --check-prefix=IPSCCP %s

; Test different widening scenarios.

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
; RUN: opt < %s -tailcallelim -verify-dom-info -S | FileCheck %s
; RUN: opt < %s -passes=tailcallelim -verify-dom-info -S | FileCheck %s
; PR7328
; PR7506
define i32 @test1_constants(i32 %x) {
Expand Down
2 changes: 1 addition & 1 deletion llvm/test/Transforms/TailCallElim/EraseBB.ll
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
; RUN: opt -tailcallelim -verify-dom-info -S < %s 2>&1 | FileCheck %s
; RUN: opt -passes=tailcallelim -verify-dom-info -S < %s 2>&1 | FileCheck %s

; CHECK: add nsw i32
; CHECK-NEXT: br label
Expand Down
1 change: 0 additions & 1 deletion llvm/test/Transforms/TailCallElim/accum_recursion.ll
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
; RUN: opt < %s -tailcallelim -verify-dom-info -S | FileCheck %s
; RUN: opt < %s -passes=tailcallelim -verify-dom-info -S | FileCheck %s

define i32 @test1_factorial(i32 %x) {
Expand Down
2 changes: 1 addition & 1 deletion llvm/test/Transforms/TailCallElim/ackermann.ll
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
; REQUIRES: asserts
; This function contains two tail calls, which should be eliminated
; RUN: opt < %s -tailcallelim -verify-dom-info -stats -disable-output 2>&1 | grep "2 tailcallelim"
; RUN: opt < %s -passes=tailcallelim -verify-dom-info -stats -disable-output 2>&1 | grep "2 tailcallelim"

define i32 @Ack(i32 %M.1, i32 %N.1) {
entry:
Expand Down
2 changes: 1 addition & 1 deletion llvm/test/Transforms/TailCallElim/basic.ll
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
; RUN: opt < %s -tailcallelim -verify-dom-info -S | FileCheck %s
; RUN: opt < %s -passes=tailcallelim -verify-dom-info -S | FileCheck %s

declare void @noarg()
declare void @use(i32*)
Expand Down
2 changes: 1 addition & 1 deletion llvm/test/Transforms/TailCallElim/debugloc.ll
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
; RUN: opt < %s -debugify -tailcallelim -S | FileCheck %s
; RUN: opt < %s -passes=debugify,tailcallelim -S | FileCheck %s

define void @foo() {
entry:
Expand Down
2 changes: 1 addition & 1 deletion llvm/test/Transforms/TailCallElim/deopt-bundle.ll
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
; RUN: opt < %s -tailcallelim -verify-dom-info -S | FileCheck %s
; RUN: opt < %s -passes=tailcallelim -verify-dom-info -S | FileCheck %s

define i32 @f_1(i32 %x) {
; CHECK-LABEL: @f_1(
Expand Down
2 changes: 1 addition & 1 deletion llvm/test/Transforms/TailCallElim/dont_reorder_load.ll
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
; RUN: opt < %s -tailcallelim -verify-dom-info -S | grep call | count 4
; RUN: opt < %s -passes=tailcallelim -verify-dom-info -S | grep call | count 4
; PR4323

; Several cases where tail call elimination should not move the load above the
Expand Down
2 changes: 1 addition & 1 deletion llvm/test/Transforms/TailCallElim/dup_tail.ll
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
; REQUIRES: asserts
; Duplicate the return into if.end to enable TCE.
; RUN: opt -tailcallelim -verify-dom-info -stats -disable-output < %s 2>&1 | FileCheck %s
; RUN: opt -passes=tailcallelim -verify-dom-info -stats -disable-output < %s 2>&1 | FileCheck %s

; CHECK: Number of return duplicated

Expand Down
2 changes: 1 addition & 1 deletion llvm/test/Transforms/TailCallElim/inf-recursion.ll
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
; RUN: opt < %s -tailcallelim -verify-dom-info -S | FileCheck %s
; RUN: opt < %s -passes=tailcallelim -verify-dom-info -S | FileCheck %s

; Don't turn this into an infinite loop, this is probably the implementation
; of fabs and we expect the codegen to lower fabs.
Expand Down
2 changes: 1 addition & 1 deletion llvm/test/Transforms/TailCallElim/notail.ll
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
; RUN: opt < %s -tailcallelim -verify-dom-info -S | FileCheck %s
; RUN: opt < %s -passes=tailcallelim -verify-dom-info -S | FileCheck %s

; CHECK: tail call void @callee0()
; CHECK: notail call void @callee1()
Expand Down
2 changes: 1 addition & 1 deletion llvm/test/Transforms/TailCallElim/reorder_load.ll
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
; NOTE: Assertions have been autogenerated by utils/update_test_checks.py
; RUN: opt < %s -tailcallelim -verify-dom-info -S | FileCheck %s
; RUN: opt < %s -passes=tailcallelim -verify-dom-info -S | FileCheck %s
; PR4323

target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128"
Expand Down
2 changes: 1 addition & 1 deletion llvm/test/Transforms/TailCallElim/setjmp.ll
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
; RUN: opt < %s -tailcallelim -verify-dom-info -S | FileCheck %s
; RUN: opt < %s -passes=tailcallelim -verify-dom-info -S | FileCheck %s

; Test that we don't tail call in a functions that calls returns_twice
; functions.
Expand Down
2 changes: 1 addition & 1 deletion llvm/test/Transforms/TailCallElim/tre-byval-parameter-2.ll
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
; NOTE: Assertions have been autogenerated by utils/update_test_checks.py
; RUN: opt < %s -tailcallelim -verify-dom-info -S | FileCheck %s
; RUN: opt < %s -passes=tailcallelim -verify-dom-info -S | FileCheck %s

; the test was generated from the following C++ source:
;
Expand Down
2 changes: 1 addition & 1 deletion llvm/test/Transforms/TailCallElim/tre-byval-parameter.ll
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
; NOTE: Assertions have been autogenerated by utils/update_test_checks.py
; RUN: opt < %s -tailcallelim -verify-dom-info -S | FileCheck %s
; RUN: opt < %s -passes=tailcallelim -verify-dom-info -S | FileCheck %s

; the test was generated from the following C++ source:
;
Expand Down
2 changes: 1 addition & 1 deletion llvm/test/Transforms/TailCallElim/tre-multiple-exits.ll
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
; NOTE: Assertions have been autogenerated by utils/update_test_checks.py
; RUN: opt < %s -tailcallelim -verify-dom-info -S | FileCheck %s
; RUN: opt < %s -passes=tailcallelim -verify-dom-info -S | FileCheck %s

; This test checks that TRE would be done for only one recursive call.
; The test_multiple_exits function has three recursive calls.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
; NOTE: Assertions have been autogenerated by utils/update_test_checks.py
; RUN: opt < %s -tailcallelim -verify-dom-info -S | FileCheck %s
; RUN: opt < %s -passes=tailcallelim -verify-dom-info -S | FileCheck %s

; IR for that test was generated from the following C++ source:
;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
; NOTE: Assertions have been autogenerated by utils/update_test_checks.py
; RUN: opt -S -print-predicateinfo < %s 2>&1 >/dev/null | FileCheck %s
; RUN: opt -S -passes=print-predicateinfo < %s 2>&1 >/dev/null | FileCheck %s

; FIXME: RenamedOp should be %cmp or %x in all cases here,
; which is the value used in the condition.
Expand Down
2 changes: 1 addition & 1 deletion llvm/test/Transforms/Util/PredicateInfo/condprop.ll
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
; NOTE: Assertions have been autogenerated by utils/update_test_checks.py
; RUN: opt -print-predicateinfo -disable-output < %s 2>&1 | FileCheck %s
; RUN: opt -passes=print-predicateinfo -disable-output < %s 2>&1 | FileCheck %s

@a = external global i32 ; <i32*> [#uses=7]

Expand Down
2 changes: 1 addition & 1 deletion llvm/test/Transforms/Util/PredicateInfo/diamond.ll
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
; NOTE: Assertions have been autogenerated by utils/update_test_checks.py
; RUN: opt -print-predicateinfo < %s 2>&1 | FileCheck %s
; RUN: opt -passes=print-predicateinfo < %s 2>&1 | FileCheck %s
define i1 @f(i32 %x, i1 %y) {
; CHECK-LABEL: @f(
; CHECK-NEXT: br i1 [[Y:%.*]], label [[BB0:%.*]], label [[BB1:%.*]]
Expand Down
2 changes: 1 addition & 1 deletion llvm/test/Transforms/Util/PredicateInfo/edge.ll
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
; NOTE: Assertions have been autogenerated by utils/update_test_checks.py
; RUN: opt -print-predicateinfo < %s 2>&1 | FileCheck %s
; RUN: opt -passes=print-predicateinfo < %s 2>&1 | FileCheck %s

define i32 @f1(i32 %x) {
; CHECK-LABEL: @f1(
Expand Down
2 changes: 1 addition & 1 deletion llvm/test/Transforms/Util/PredicateInfo/ordering.ll
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
; REQUIRES: assert
; REQUIRES: assert-but-this-is-misspelled-and-should-say-asserts-but-then-the-test-case-will-fail
; RUN: opt -passes=print-predicateinfo -debug < %s 2>&1 | FileCheck %s

declare void @use(i32)
Expand Down
2 changes: 1 addition & 1 deletion llvm/test/Transforms/Util/PredicateInfo/pr33456.ll
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
; NOTE: Assertions have been autogenerated by utils/update_test_checks.py
; RUN: opt -print-predicateinfo < %s 2>&1 | FileCheck %s
; RUN: opt -passes=print-predicateinfo < %s 2>&1 | FileCheck %s
; Don't insert predicate info for conditions with a single target.
@a = global i32 1, align 4
@d = common global i32 0, align 4
Expand Down
2 changes: 1 addition & 1 deletion llvm/test/Transforms/Util/PredicateInfo/pr33457.ll
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
; NOTE: Assertions have been autogenerated by utils/update_test_checks.py
; RUN: opt -print-predicateinfo < %s 2>&1 | FileCheck %s
; RUN: opt -passes=print-predicateinfo < %s 2>&1 | FileCheck %s
; Don't insert predicate info for conditions with a single target.
@a = global i32 6, align 4
@c = global i32 -1, align 4
Expand Down
2 changes: 1 addition & 1 deletion llvm/test/Transforms/Util/PredicateInfo/testandor.ll
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
; NOTE: Assertions have been autogenerated by utils/update_test_checks.py
; RUN: opt -print-predicateinfo -disable-output < %s 2>&1 | FileCheck %s
; RUN: opt -passes=print-predicateinfo -disable-output < %s 2>&1 | FileCheck %s

declare void @foo(i1)
declare void @bar(i32)
Expand Down
2 changes: 1 addition & 1 deletion llvm/test/Transforms/Util/PredicateInfo/unnamed-types.ll
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
; RUN: opt < %s -print-predicateinfo 2>&1 | FileCheck %s
; RUN: opt < %s -passes=print-predicateinfo 2>&1 | FileCheck %s

%1 = type opaque
%0 = type opaque
Expand Down
2 changes: 1 addition & 1 deletion llvm/test/Transforms/Util/PredicateInfo/unreachable.ll
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
; RUN: opt -print-predicateinfo < %s 2>&1 | FileCheck %s
; RUN: opt -passes=print-predicateinfo < %s 2>&1 | FileCheck %s

declare void @foo()
declare void @llvm.assume(i1)
Expand Down