[PATCH] D29797: Update test/CodeGen/X86/sse-align-10.ll to use FileCheck instead of grep

Jorge Gorbe via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Feb 9 16:24:57 PST 2017


jgorbe created this revision.

This is my first patch. Updating a small test to see if I got the patch submission process right.


https://reviews.llvm.org/D29797

Files:
  test/CodeGen/X86/sse-align-10.ll


Index: test/CodeGen/X86/sse-align-10.ll
===================================================================
--- test/CodeGen/X86/sse-align-10.ll
+++ test/CodeGen/X86/sse-align-10.ll
@@ -1,6 +1,9 @@
-; RUN: llc < %s -march=x86-64 | grep movups | count 1
+; RUN: llc < %s -march=x86-64 | FileCheck %s

 define <2 x i64> @bar(<2 x i64>* %p) nounwind {
+; CHECK-LABEL: bar:
+; CHECK: movups
+; CHECK-NOT: movups
   %t = load <2 x i64>, <2 x i64>* %p, align 8
   ret <2 x i64> %t
 }


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D29797.87907.patch
Type: text/x-patch
Size: 478 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20170210/0318e496/attachment.bin>


More information about the llvm-commits mailing list