[PlaceSafepoints] Clean up tests; NFC

Use `opt < %s` instead of `opt %s` as specified in
http://llvm.org/docs/TestingGuide.html#fragile-tests.

llvm-svn: 259062
This commit is contained in:
Sanjoy Das 2016-01-28 18:01:03 +00:00
parent bc6b80a0ff
commit 2321a4cd71
10 changed files with 11 additions and 11 deletions

View File

@ -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?

View File

@ -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()

View File

@ -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

View File

@ -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

View File

@ -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()

View File

@ -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()

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -1,4 +1,4 @@
; RUN: opt %s -S -place-safepoints | FileCheck %s
; RUN: opt < %s -S -place-safepoints | FileCheck %s
declare void @llvm.localescape(...)