forked from OSchip/llvm-project
Rewrite test in FileCheck instead of grep in X86 codegen
llvm-svn: 180754
This commit is contained in:
parent
7d820c0bef
commit
db6c6ea21c
|
|
@ -1,7 +1,10 @@
|
|||
; RUN: llvm-as < %s > %t1
|
||||
; RUN: not llc -march=x86 -mcpu=i686 -mattr=-sse < %t1 2> %t2
|
||||
; RUN: grep "SSE register return with SSE disabled" %t2
|
||||
; RUN: llc -march=x86 -mcpu=i686 -mattr=+sse < %t1 | grep xmm
|
||||
; RUN: llc < %s -march=x86 -mcpu=i686 -mattr=-sse 2>&1 | FileCheck --check-prefix NOSSE %s
|
||||
; RUN: llc < %s -march=x86 -mcpu=i686 -mattr=+sse | FileCheck %s
|
||||
|
||||
; NOSSE: {{SSE register return with SSE disabled}}
|
||||
|
||||
; CHECK: xmm
|
||||
|
||||
target datalayout = "e-p:32:32:32-i1:8:8-i8:8:8-i16:16:16-i32:32:32-i64:32:64-f32:32:32-f64:32:64-v64:64:64-v128:128:128-a0:0:64-f80:32:32"
|
||||
target triple = "i386-unknown-linux-gnu"
|
||||
@f = external global float ; <float*> [#uses=4]
|
||||
|
|
|
|||
Loading…
Reference in New Issue