[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
Tue May 9 03:48:49 PDT 2017
a.elovikov created this revision.
Herald added a subscriber: javed.absar.
Otherwise unexpected matches with the path to the tests might happen.
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 -o - | 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 -o - | 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 -o - | FileCheck %s
define i1 @t1(i64 %x) {
%B = icmp slt i64 %x, 0
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D32994.98263.patch
Type: text/x-patch
Size: 1301 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20170509/caf97b41/attachment.bin>
More information about the llvm-commits
mailing list