Change test to use FileCheck rather than grep.

Differential Revision: http://reviews.llvm.org/D13751

llvm-svn: 250431
This commit is contained in:
Kevin B. Smith 2015-10-15 17:05:12 +00:00
parent a956cc7f08
commit 89760f04f9
1 changed files with 7 additions and 1 deletions

View File

@ -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: