mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-22 18:54:02 +01:00
[test] Fix unused FileCheck prefixes in test/Reduce
This commit is contained in:
parent
712f0e3c09
commit
511ed9320f
@ -4,11 +4,11 @@
|
||||
; reduction instead.
|
||||
|
||||
; RUN: llvm-reduce --test FileCheck --test-arg --check-prefixes=ALL,CHECK-INTERESTINGNESS --test-arg %s --test-arg --input-file %s -o %t 2> %t.log
|
||||
; RUN: cat %t | FileCheck -implicit-check-not=uninteresting --check-prefixes=ALL,CHECK-FINAL %s
|
||||
; RUN: FileCheck -implicit-check-not=uninteresting --check-prefixes=ALL,CHECK-FINAL %s < %t
|
||||
|
||||
; Check that the call is removed by instruction reduction passes
|
||||
; RUN: llvm-reduce --test FileCheck --test-arg --check-prefixes=ALL,CHECK-FUNC --test-arg %s --test-arg --input-file %s -o %t
|
||||
; RUN: cat %t | FileCheck -implicit-check-not=uninteresting --check-prefixes=ALL,CHECK-NOCALL %s
|
||||
; RUN: llvm-reduce --test FileCheck --test-arg --check-prefix=ALL --test-arg %s --test-arg --input-file %s -o %t
|
||||
; RUN: FileCheck -implicit-check-not=uninteresting --check-prefixes=ALL,CHECK-NOCALL %s < %t
|
||||
|
||||
|
||||
declare i8* @llvm.sponentry.p0i8()
|
||||
|
@ -1,7 +1,7 @@
|
||||
; Test that llvm-reduce can remove uninteresting attributes.
|
||||
;
|
||||
; RUN: llvm-reduce --test FileCheck --test-arg --check-prefixes=CHECK-ALL,CHECK-INTERESTINGNESS --test-arg %s --test-arg --input-file %s -o %t
|
||||
; RUN: cat %t | FileCheck --check-prefixes=CHECK-ALL,CHECK-FINAL %s
|
||||
; RUN: llvm-reduce --test FileCheck --test-arg --check-prefixes=CHECK-INTERESTINGNESS --test-arg %s --test-arg --input-file %s -o %t
|
||||
; RUN: FileCheck --check-prefix=CHECK-FINAL %s < %t
|
||||
|
||||
; CHECK-INTERESTINGNESS: declare
|
||||
; CHECK-INTERESTINGNESS-SAME: "attr0"
|
||||
|
@ -1,7 +1,7 @@
|
||||
; Test that llvm-reduce can remove uninteresting function arguments from function definitions as well as their calls.
|
||||
;
|
||||
; RUN: llvm-reduce --test FileCheck --test-arg --check-prefixes=CHECK-ALL,CHECK-INTERESTINGNESS --test-arg %s --test-arg --input-file %s -o %t
|
||||
; RUN: cat %t | FileCheck --check-prefixes=CHECK-ALL,CHECK-FINAL %s
|
||||
; RUN: llvm-reduce --test FileCheck --test-arg --check-prefix=CHECK-ALL --test-arg %s --test-arg --input-file %s -o %t
|
||||
; RUN: FileCheck --check-prefix=CHECK-ALL %s < %t
|
||||
|
||||
; CHECK-ALL: declare void @use(i32, i32, i32)
|
||||
declare void @use(i32, i32, i32)
|
||||
|
@ -1,7 +1,7 @@
|
||||
; Test that llvm-reduce can remove uninteresting function arguments from function definitions as well as their calls.
|
||||
;
|
||||
; RUN: llvm-reduce --test FileCheck --test-arg --check-prefixes=CHECK-ALL,CHECK-INTERESTINGNESS --test-arg %s --test-arg --input-file %s -o %t
|
||||
; RUN: cat %t | FileCheck --check-prefixes=CHECK-ALL,CHECK-FINAL %s
|
||||
; RUN: llvm-reduce --test FileCheck --test-arg --check-prefix=CHECK-ALL --test-arg %s --test-arg --input-file %s -o %t
|
||||
; RUN: FileCheck --check-prefix=CHECK-ALL %s < %t
|
||||
|
||||
; CHECK-ALL: @uninteresting1 = global
|
||||
; CHECK-ALL: @uninteresting2 = global
|
||||
|
@ -1,5 +1,5 @@
|
||||
; RUN: llvm-reduce --test FileCheck --test-arg --check-prefixes=CHECK-ALL,CHECK-INTERESTINGNESS --test-arg %s --test-arg --input-file %s -o %t
|
||||
; RUN: cat %t | FileCheck --check-prefixes=CHECK-ALL,CHECK-FINAL --implicit-check-not=uninteresting %s
|
||||
; RUN: llvm-reduce --test FileCheck --test-arg --check-prefix=CHECK-ALL --test-arg %s --test-arg --input-file %s -o %t
|
||||
; RUN: FileCheck --check-prefix=CHECK-ALL --implicit-check-not=uninteresting %s < %t
|
||||
|
||||
declare void @llvm.uninteresting()
|
||||
declare void @uninteresting()
|
||||
|
Loading…
Reference in New Issue
Block a user