From 21b2648d3b6041563e8fdb9116088814667e8adf Mon Sep 17 00:00:00 2001 From: Mikael Holmen Date: Fri, 6 Sep 2019 06:55:54 +0000 Subject: [PATCH] [MIR] Change test case to read from stdin instead of file The ;CHECK: bb ;CHECK-NEXT: %namedVReg1353:_(p0) = COPY $d0 parts of the test case failed when the tests were placed in a directory including "bb" in the path, since the full path of the file is then output in the ; ModuleID = '/repo/bb/ line which the CHECK matched on and then the CHECK-NEXT failed. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@371171 91177308-0d34-0410-b5e6-96231b3b80d8 --- test/CodeGen/MIR/AArch64/mirnamer.mir | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/CodeGen/MIR/AArch64/mirnamer.mir b/test/CodeGen/MIR/AArch64/mirnamer.mir index fc1e1bbbd9a..87b563d2091 100644 --- a/test/CodeGen/MIR/AArch64/mirnamer.mir +++ b/test/CodeGen/MIR/AArch64/mirnamer.mir @@ -1,4 +1,4 @@ -# RUN: llc -mtriple aarch64-apple-ios -run-pass mir-namer -verify-machineinstrs -o - %s | FileCheck %s +# RUN: llc -x mir -mtriple aarch64-apple-ios -run-pass mir-namer -verify-machineinstrs -o - < %s | FileCheck %s --- name: foo -- 2.40.0