diff options
| author | Dimitry Andric <dim@FreeBSD.org> | 2015-12-30 11:46:15 +0000 |
|---|---|---|
| committer | Dimitry Andric <dim@FreeBSD.org> | 2015-12-30 11:46:15 +0000 |
| commit | dd58ef019b700900793a1eb48b52123db01b654e (patch) | |
| tree | fcfbb4df56a744f4ddc6122c50521dd3f1c5e196 /test/CodeGen/X86/opt-ext-uses.ll | |
| parent | 2fe5752e3a7c345cdb59e869278d36af33c13fa4 (diff) | |
Notes
Diffstat (limited to 'test/CodeGen/X86/opt-ext-uses.ll')
| -rw-r--r-- | test/CodeGen/X86/opt-ext-uses.ll | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/test/CodeGen/X86/opt-ext-uses.ll b/test/CodeGen/X86/opt-ext-uses.ll index 5d05ad9c45447..39e6fd0e6a59f 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: |
