mirror of
https://github.com/RPCSX/llvm.git
synced 2025-02-14 17:57:43 +00:00
[PlaceSafepoints] Clean up tests; NFC
Use `opt < %s` instead of `opt %s` as specified in http://llvm.org/docs/TestingGuide.html#fragile-tests. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@259062 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
0eeb0b22bf
commit
61400390f8
@ -1,4 +1,4 @@
|
||||
; RUN: opt %s -S -place-safepoints | FileCheck %s
|
||||
; RUN: opt < %s -S -place-safepoints | FileCheck %s
|
||||
|
||||
|
||||
; Do we insert a simple entry safepoint?
|
||||
|
@ -1,7 +1,7 @@
|
||||
; If there's a call in the loop which dominates the backedge, we
|
||||
; don't need a safepoint poll (since the callee must contain a
|
||||
; poll test).
|
||||
;; RUN: opt %s -place-safepoints -S | FileCheck %s
|
||||
;; RUN: opt < %s -place-safepoints -S | FileCheck %s
|
||||
|
||||
declare void @foo()
|
||||
|
||||
|
@ -1,4 +1,4 @@
|
||||
;; RUN: opt %s -place-safepoints -S | FileCheck %s
|
||||
;; RUN: opt < %s -place-safepoints -S | FileCheck %s
|
||||
|
||||
;; This test is to verify that gc_result from a call statepoint
|
||||
;; can have preceding phis in its parent basic block. Unlike
|
||||
|
@ -1,7 +1,7 @@
|
||||
; Tests to ensure that we are not placing backedge safepoints in
|
||||
; loops which are clearly finite.
|
||||
;; RUN: opt %s -place-safepoints -spp-counted-loop-trip-width=32 -S | FileCheck %s
|
||||
;; RUN: opt %s -place-safepoints -spp-counted-loop-trip-width=64 -S | FileCheck %s -check-prefix=COUNTED-64
|
||||
;; RUN: opt < %s -place-safepoints -spp-counted-loop-trip-width=32 -S | FileCheck %s
|
||||
;; RUN: opt < %s -place-safepoints -spp-counted-loop-trip-width=64 -S | FileCheck %s -check-prefix=COUNTED-64
|
||||
|
||||
|
||||
; A simple counted loop with trivially known range
|
||||
|
@ -1,4 +1,4 @@
|
||||
; RUN: opt %s -S -place-safepoints | FileCheck %s
|
||||
; RUN: opt < %s -S -place-safepoints | FileCheck %s
|
||||
|
||||
declare i64 addrspace(1)* @some_call(i64 addrspace(1)*)
|
||||
declare i32 @personality_function()
|
||||
|
@ -1,4 +1,4 @@
|
||||
; RUN: opt %s -S -place-safepoints | FileCheck %s
|
||||
; RUN: opt < %s -S -place-safepoints | FileCheck %s
|
||||
|
||||
declare void @foo() "gc-leaf-function"
|
||||
declare void @bar()
|
||||
|
@ -1,4 +1,4 @@
|
||||
; RUN: opt -S -place-safepoints %s | FileCheck %s
|
||||
; RUN: opt < %s -S -place-safepoints | FileCheck %s
|
||||
|
||||
define void @test(i32, i8 addrspace(1)* %ptr) gc "statepoint-example" {
|
||||
; CHECK-LABEL: @test
|
||||
|
@ -1,5 +1,5 @@
|
||||
;; A very basic test to make sure that splitting the backedge keeps working
|
||||
;; RUN: opt -place-safepoints -spp-split-backedge=1 -S %s | FileCheck %s
|
||||
;; RUN: opt < %s -place-safepoints -spp-split-backedge=1 -S | FileCheck %s
|
||||
|
||||
define void @test(i32, i1 %cond) gc "statepoint-example" {
|
||||
; CHECK-LABEL: @test
|
||||
|
@ -1,4 +1,4 @@
|
||||
; RUN: opt %s -S -place-safepoints | FileCheck %s
|
||||
; RUN: opt < %s -S -place-safepoints | FileCheck %s
|
||||
|
||||
; Basic test to make sure that safepoints are placed
|
||||
; for CoreCLR GC
|
||||
|
@ -1,4 +1,4 @@
|
||||
; RUN: opt %s -S -place-safepoints | FileCheck %s
|
||||
; RUN: opt < %s -S -place-safepoints | FileCheck %s
|
||||
|
||||
declare void @llvm.localescape(...)
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user