OSDN Git Service

[NFC] Use stdin for some tests instead of positional argument.
authorNikolai Bozhenov <nikolai.bozhenov@intel.com>
Thu, 29 Jun 2017 14:51:54 +0000 (14:51 +0000)
committerNikolai Bozhenov <nikolai.bozhenov@intel.com>
Thu, 29 Jun 2017 14:51:54 +0000 (14:51 +0000)
Summary: Otherwise unexpected matches with the path to the tests might happen.

Reviewers: rengolin, spatel, efriedma, RKSimon

Reviewed By: spatel

Subscribers: n.bozhenov, javed.absar, llvm-commits

Patch by Andrei Elovikov <andrei.elovikov@intel.com>

Differential Revision: https://reviews.llvm.org/D32994

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@306684 91177308-0d34-0410-b5e6-96231b3b80d8

test/CodeGen/ARM/long-setcc.ll
test/CodeGen/ARM/thumb2-it-block.ll
test/CodeGen/Thumb/long-setcc.ll

index f09167e..1fbc3f2 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llc -mtriple=arm-eabi %s -o - | FileCheck %s
+; RUN: llc -mtriple=arm-eabi < %s | FileCheck %s
 
 define i1 @t1(i64 %x) {
        %B = icmp slt i64 %x, 0
index aaefc0a..6d93869 100644 (file)
@@ -1,5 +1,5 @@
-; RUN: llc -mtriple=thumb-eabi -mcpu=arm1156t2-s -mattr=+thumb2 %s -o - | FileCheck %s
-; RUN: llc -mtriple=thumbv8 %s -o - | FileCheck %s
+; RUN: llc -mtriple=thumb-eabi -mcpu=arm1156t2-s -mattr=+thumb2 < %s | FileCheck %s
+; RUN: llc -mtriple=thumbv8 < %s | FileCheck %s
 ; PR11107
 
 define i32 @test(i32 %a, i32 %b) {
index 3460edb..7db06d0 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llc -mtriple=thumb-eabi %s -o - | FileCheck %s
+; RUN: llc -mtriple=thumb-eabi < %s | FileCheck %s
 
 define i1 @t1(i64 %x) {
        %B = icmp slt i64 %x, 0