forked from OSchip/llvm-project
[NewPM][test] Strickly use -passes in some more lit tests
Removed/replaced RUN lines using legacy PM syntax in favor of using -passes in lit tests for Float2Int, MetaRenamer, StripDeadPrototypes and StripSymbols.
This commit is contained in:
parent
a3ca7dd0ab
commit
3d152bc49d
|
@ -1,5 +1,4 @@
|
|||
; NOTE: Assertions have been autogenerated by utils/update_test_checks.py
|
||||
; RUN: opt < %s -float2int -S | FileCheck %s
|
||||
; RUN: opt < %s -passes='float2int' -S | FileCheck %s
|
||||
|
||||
;
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
; RUN: opt < %s -float2int -S | FileCheck %s
|
||||
; RUN: opt < %s -passes=float2int -S | FileCheck %s
|
||||
;
|
||||
; Verify that pass float2int is not run on optnone functions.
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
; RUN: opt < %s -float2int -float2int-max-integer-bw=256 -S | FileCheck %s
|
||||
; RUN: opt < %s -passes=float2int -float2int-max-integer-bw=256 -S | FileCheck %s
|
||||
|
||||
; CHECK-LABEL: @neg_toolarge
|
||||
; CHECK: %1 = uitofp i80 %a to fp128
|
||||
|
|
|
@ -1,5 +1,4 @@
|
|||
; Make sure @main is left untouched.
|
||||
; RUN: opt -metarenamer -S %s | FileCheck %s
|
||||
; RUN: opt -passes=metarenamer -S %s | FileCheck %s
|
||||
|
||||
; CHECK: define void @main
|
||||
|
|
|
@ -1,4 +1,3 @@
|
|||
; RUN: opt -metarenamer -S < %s | FileCheck %s
|
||||
; RUN: opt -passes=metarenamer -S < %s | FileCheck %s
|
||||
|
||||
; CHECK: target triple {{.*}}
|
||||
|
|
|
@ -1,4 +1,3 @@
|
|||
; RUN: opt -strip-dead-prototypes -S -o - < %s | FileCheck %s
|
||||
; RUN: opt -S -passes=strip-dead-prototypes < %s | FileCheck %s
|
||||
|
||||
; CHECK: declare i32 @f
|
||||
|
|
|
@ -1,4 +1,3 @@
|
|||
; RUN: opt < %s -strip -S | FileCheck %s
|
||||
; RUN: opt < %s -passes=strip -S | FileCheck %s
|
||||
|
||||
; CHECK: foo
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
; RUN: opt -strip-dead-debug-info -disable-output < %s
|
||||
; RUN: opt -passes=strip-dead-debug-info -disable-output < %s
|
||||
source_filename = "test/Transforms/StripSymbols/2010-08-25-crash.ll"
|
||||
|
||||
; Function Attrs: nounwind ssp
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
; RUN: opt -strip -S < %s | FileCheck %s
|
||||
; RUN: opt -passes=strip -S < %s | FileCheck %s
|
||||
; PR10286
|
||||
|
||||
@main_addrs = constant [2 x i8*] [i8* blockaddress(@f, %FOO), i8* blockaddress(@f, %BAR)]
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
; RUN: opt -S %s -strip -o - | FileCheck %s
|
||||
; RUN: opt -S %s -passes=strip -o - | FileCheck %s
|
||||
|
||||
; CHECK-NOT: !llvm.dbg.cu
|
||||
; CHECK-NOT: !llvm.gcov
|
||||
|
|
|
@ -1,4 +1,3 @@
|
|||
; RUN: opt -strip-dead-debug-info -verify %s -S | FileCheck %s
|
||||
; RUN: opt -passes='strip-dead-debug-info,verify' %s -S | FileCheck %s
|
||||
|
||||
; CHECK: ModuleID = '{{.*}}'
|
||||
|
|
Loading…
Reference in New Issue