diff options
| author | Sanjoy Das <sanjoy@playingwithpointers.com> | 2016-01-28 18:01:03 +0000 | 
|---|---|---|
| committer | Sanjoy Das <sanjoy@playingwithpointers.com> | 2016-01-28 18:01:03 +0000 | 
| commit | 2321a4cd711cd809c6fe049d3d91007b6e43809c (patch) | |
| tree | b159a6d3aa8d45a0f0d36c4d3e1a8e7d49d3ff26 /llvm/test/Transforms | |
| parent | bc6b80a0ff279ca4f2d540232de60349840c042a (diff) | |
| download | bcm5719-llvm-2321a4cd711cd809c6fe049d3d91007b6e43809c.tar.gz bcm5719-llvm-2321a4cd711cd809c6fe049d3d91007b6e43809c.zip | |
[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
Diffstat (limited to 'llvm/test/Transforms')
10 files changed, 11 insertions, 11 deletions
| diff --git a/llvm/test/Transforms/PlaceSafepoints/basic.ll b/llvm/test/Transforms/PlaceSafepoints/basic.ll index 8cdbc217b84..ade219e3703 100644 --- a/llvm/test/Transforms/PlaceSafepoints/basic.ll +++ b/llvm/test/Transforms/PlaceSafepoints/basic.ll @@ -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? diff --git a/llvm/test/Transforms/PlaceSafepoints/call-in-loop.ll b/llvm/test/Transforms/PlaceSafepoints/call-in-loop.ll index 9edfeb75e0c..003548ffad7 100644 --- a/llvm/test/Transforms/PlaceSafepoints/call-in-loop.ll +++ b/llvm/test/Transforms/PlaceSafepoints/call-in-loop.ll @@ -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() diff --git a/llvm/test/Transforms/PlaceSafepoints/call_gc_result.ll b/llvm/test/Transforms/PlaceSafepoints/call_gc_result.ll index f2929bfd58a..a382cea3b14 100644 --- a/llvm/test/Transforms/PlaceSafepoints/call_gc_result.ll +++ b/llvm/test/Transforms/PlaceSafepoints/call_gc_result.ll @@ -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 diff --git a/llvm/test/Transforms/PlaceSafepoints/finite-loops.ll b/llvm/test/Transforms/PlaceSafepoints/finite-loops.ll index b98073d6a6e..ea090eea1bc 100644 --- a/llvm/test/Transforms/PlaceSafepoints/finite-loops.ll +++ b/llvm/test/Transforms/PlaceSafepoints/finite-loops.ll @@ -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 diff --git a/llvm/test/Transforms/PlaceSafepoints/invokes.ll b/llvm/test/Transforms/PlaceSafepoints/invokes.ll index a28fe262027..e5258c18952 100644 --- a/llvm/test/Transforms/PlaceSafepoints/invokes.ll +++ b/llvm/test/Transforms/PlaceSafepoints/invokes.ll @@ -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() diff --git a/llvm/test/Transforms/PlaceSafepoints/leaf-function.ll b/llvm/test/Transforms/PlaceSafepoints/leaf-function.ll index 2f4193827ae..5d914c12778 100644 --- a/llvm/test/Transforms/PlaceSafepoints/leaf-function.ll +++ b/llvm/test/Transforms/PlaceSafepoints/leaf-function.ll @@ -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() diff --git a/llvm/test/Transforms/PlaceSafepoints/memset.ll b/llvm/test/Transforms/PlaceSafepoints/memset.ll index 534b2f12058..7edca282292 100644 --- a/llvm/test/Transforms/PlaceSafepoints/memset.ll +++ b/llvm/test/Transforms/PlaceSafepoints/memset.ll @@ -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 diff --git a/llvm/test/Transforms/PlaceSafepoints/split-backedge.ll b/llvm/test/Transforms/PlaceSafepoints/split-backedge.ll index b9fad45709d..5695441408a 100644 --- a/llvm/test/Transforms/PlaceSafepoints/split-backedge.ll +++ b/llvm/test/Transforms/PlaceSafepoints/split-backedge.ll @@ -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 diff --git a/llvm/test/Transforms/PlaceSafepoints/statepoint-coreclr.ll b/llvm/test/Transforms/PlaceSafepoints/statepoint-coreclr.ll index 0228549025e..3cc3b1805eb 100644 --- a/llvm/test/Transforms/PlaceSafepoints/statepoint-coreclr.ll +++ b/llvm/test/Transforms/PlaceSafepoints/statepoint-coreclr.ll @@ -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 diff --git a/llvm/test/Transforms/PlaceSafepoints/statepoint-frameescape.ll b/llvm/test/Transforms/PlaceSafepoints/statepoint-frameescape.ll index c4e250957a8..13a5c6e6d8d 100644 --- a/llvm/test/Transforms/PlaceSafepoints/statepoint-frameescape.ll +++ b/llvm/test/Transforms/PlaceSafepoints/statepoint-frameescape.ll @@ -1,4 +1,4 @@ -; RUN: opt %s -S -place-safepoints | FileCheck %s +; RUN: opt < %s -S -place-safepoints | FileCheck %s  declare void @llvm.localescape(...) | 

