FileCheckize this in a hope to quiet a valgrind warning on grep.

llvm-svn: 116376
This commit is contained in:
Eric Christopher 2010-10-12 23:47:58 +00:00
parent 7dd8c0b991
commit a237bdbe52
1 changed files with 7 additions and 4 deletions

View File

@ -1,7 +1,10 @@
; RUN: llc < %s -march=x86-64 | grep {movq 8(%rsp), %rax}
; RUN: llc < %s -march=x86 > %t
; RUN: grep {movl 8(%esp), %edx} %t
; RUN: grep {movl 4(%esp), %eax} %t
; RUN: llc < %s -march=x86-64 | FileCheck -check-prefix=X86-64 %s
; RUN: llc < %s -march=x86 | FileCheck -check-prefix=X86 %s
; X86: movl 4(%esp), %eax
; X86: movl 8(%esp), %edx
; X86-64: movq 8(%rsp), %rax
%struct.s = type { i64, i64, i64 }