[PATCH] D60060: [X86] Fix a test from r357317

Krasimir Georgiev via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Apr 1 04:39:36 PDT 2019


krasimir created this revision.
Herald added a project: LLVM.
Herald added a subscriber: llvm-commits.
krasimir added a reviewer: bkramer.

The missing `<` causes the lld command to override the test file, which fails in
environments marking the test files as readonly.


Repository:
  rL LLVM

https://reviews.llvm.org/D60060

Files:
  test/CodeGen/X86/win64-nosse-error.ll


Index: test/CodeGen/X86/win64-nosse-error.ll
===================================================================
--- test/CodeGen/X86/win64-nosse-error.ll
+++ test/CodeGen/X86/win64-nosse-error.ll
@@ -1,4 +1,4 @@
-; RUN: not --crash llc %s -mattr="-sse" 2>&1 | FileCheck %s
+; RUN: not --crash llc < %s -mattr="-sse" 2>&1 | FileCheck %s
 
 target datalayout = "e-m:o-i64:64-f80:128-n8:16:32:64-S128"
 target triple = "x86_64-pc-windows-macho"


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D60060.193064.patch
Type: text/x-patch
Size: 443 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20190401/c56e5bea/attachment.bin>


More information about the llvm-commits mailing list