[PATCH] D13751: Change test to use FileCheck rather than grep.
Kevin B. Smith via llvm-commits
llvm-commits at lists.llvm.org
Thu Oct 15 10:07:16 PDT 2015
This revision was automatically updated to reflect the committed changes.
Closed by commit rL250431: Change test to use FileCheck rather than grep. (authored by kbsmith1).
Changed prior to commit:
http://reviews.llvm.org/D13751?vs=37404&id=37496#toc
Repository:
rL LLVM
http://reviews.llvm.org/D13751
Files:
llvm/trunk/test/CodeGen/X86/opt-ext-uses.ll
Index: llvm/trunk/test/CodeGen/X86/opt-ext-uses.ll
===================================================================
--- llvm/trunk/test/CodeGen/X86/opt-ext-uses.ll
+++ llvm/trunk/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:
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D13751.37496.patch
Type: text/x-patch
Size: 508 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20151015/276b9ce2/attachment.bin>
More information about the llvm-commits
mailing list