; 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"

; Function Attrs: noimplicitfloat noinline noredzone nounwind optnone
define void @crash() #0 {
  call void (i32*, ...) @func(i32* null, double undef)
  ret void
}
; CHECK: in function crash void (): Win64 ABI varargs functions require SSE to be enabled
; Function Attrs: noimplicitfloat noredzone
declare void @func(i32*, ...)

attributes #0 = { "target-cpu"="x86-64" "target-features"="-sse"}



; 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"

; Function Attrs: noimplicitfloat noinline noredzone nounwind optnone
define void @crash() #0 {
  call void (i32*, ...) @func(i32* null, double undef)
  ret void
}
; CHECK: in function crash void (): Win64 ABI varargs functions require SSE to be enabled
; Function Attrs: noimplicitfloat noredzone
declare void @func(i32*, ...)

attributes #0 = { "target-cpu"="x86-64" "target-features"="-sse"}



Fix a test from r357317
[X86] Fix a test from r357317

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

Reviewers: bkramer

Reviewed By: bkramer

Subscribers: llvm-commits

Tags: #llvm

Differential Revision: https://reviews.llvm.org/D60060

git-svn-id: 0ff597fd157e6f4fc38580e8d64ab130330d2411@357380 91177308-0d34-0410-b5e6-96231b3b80d8
