projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1ad3dfd
)
Change test to use FileCheck rather than grep.
author
Kevin B. Smith
<kevin.b.smith@intel.com>
Thu, 15 Oct 2015 17:05:12 +0000
(17:05 +0000)
committer
Kevin B. Smith
<kevin.b.smith@intel.com>
Thu, 15 Oct 2015 17:05:12 +0000
(17:05 +0000)
Differential Revision: http://reviews.llvm.org/D13751
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@250431
91177308
-0d34-0410-b5e6-
96231b3b80d8
test/CodeGen/X86/opt-ext-uses.ll
patch
|
blob
|
history
diff --git
a/test/CodeGen/X86/opt-ext-uses.ll
b/test/CodeGen/X86/opt-ext-uses.ll
index 5d05ad9c454477b3e2d8a44ee3c8d9b172a54929..39e6fd0e6a59f3968e670cd1f214725364edba21 100644
(file)
--- 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: