Fix R600 test deadlock on Windows by giving FileCheck an argument
authorReid Kleckner <reid@kleckner.net>
Fri, 13 Feb 2015 21:27:28 +0000 (21:27 +0000)
committerReid Kleckner <reid@kleckner.net>
Fri, 13 Feb 2015 21:27:28 +0000 (21:27 +0000)
llc would hang trying to write output to a full pipe that FileCheck
wasn't reading. FileCheck wasn't reading from stdin because it needs a
file as a positional argument.

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

test/CodeGen/R600/store-v3i64.ll

index 4db9b67e0118e8534289e9bf7cefc7566a74eae6..e0c554ad2c175f9e80b5b346c8df2a41b6f8bda5 100644 (file)
@@ -1,6 +1,6 @@
 ; XFAIL: *
-; RUN: llc -march=amdgcn -mcpu=SI -verify-machineinstrs< %s | FileCheck -check-prefix=SI
-; RUN: llc -march=amdgcn -mcpu=tonga -verify-machineinstrs< %s | FileCheck -check-prefix=SI
+; RUN: llc -march=amdgcn -mcpu=SI -verify-machineinstrs< %s | FileCheck -check-prefix=SI %s
+; RUN: llc -march=amdgcn -mcpu=tonga -verify-machineinstrs< %s | FileCheck -check-prefix=SI %s
 
 ; SI-LABEL: {{^}}global_store_v3i64:
 ; SI: buffer_store_dwordx4