Change test to use FileCheck rather than grep.
Differential Revision: http://reviews.llvm.org/D13751 llvm-svn: 250431
This commit is contained in:
parent
a956cc7f08
commit
89760f04f9
|
@ -1,4 +1,10 @@
|
|||
; RUN: llc < %s -march=x86 | grep movw | count 1
|
||||
; RUN: llc < %s -march=x86 | FileCheck %s
|
||||
|
||||
; This test should get one and only one register to register mov.
|
||||
; CHECK-LABEL: t:
|
||||
; CHECK: movw
|
||||
; CHECK-NOT: movw
|
||||
; CHECK: ret
|
||||
|
||||
define signext i16 @t() {
|
||||
entry:
|
||||
|
|
Loading…
Reference in New Issue