diff options
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: |
