From: Kevin B. Smith Date: Thu, 15 Oct 2015 17:05:12 +0000 (+0000) Subject: Change test to use FileCheck rather than grep. X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=da36d63b6b6bbd6eef3e0bb404826830a4dfb81f;p=oota-llvm.git Change test to use FileCheck rather than grep. Differential Revision: http://reviews.llvm.org/D13751 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@250431 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/test/CodeGen/X86/opt-ext-uses.ll b/test/CodeGen/X86/opt-ext-uses.ll index 5d05ad9c454..39e6fd0e6a5 100644 --- a/test/CodeGen/X86/opt-ext-uses.ll +++ b/test/CodeGen/X86/opt-ext-uses.ll @@ -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: