[PATCH] D32994: [NFC] Use stdin for some tests instead of positional argument.

Andrei Elovikov via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Jun 28 06:24:39 PDT 2017


a.elovikov updated this revision to Diff 104404.
a.elovikov added a comment.

- Remove "-o -" too.


https://reviews.llvm.org/D32994

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


Index: llvm/test/CodeGen/Thumb/long-setcc.ll
===================================================================
--- llvm/test/CodeGen/Thumb/long-setcc.ll
+++ llvm/test/CodeGen/Thumb/long-setcc.ll
@@ -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
Index: llvm/test/CodeGen/ARM/thumb2-it-block.ll
===================================================================
--- llvm/test/CodeGen/ARM/thumb2-it-block.ll
+++ llvm/test/CodeGen/ARM/thumb2-it-block.ll
@@ -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 -o - | FileCheck %s
 ; PR11107
 
 define i32 @test(i32 %a, i32 %b) {
Index: llvm/test/CodeGen/ARM/long-setcc.ll
===================================================================
--- llvm/test/CodeGen/ARM/long-setcc.ll
+++ llvm/test/CodeGen/ARM/long-setcc.ll
@@ -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


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D32994.104404.patch
Type: text/x-patch
Size: 1286 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20170628/7086e043/attachment.bin>


More information about the llvm-commits mailing list