diff options
| author | Michael Liao <michael.liao@intel.com> | 2013-04-29 22:41:29 +0000 |
|---|---|---|
| committer | Michael Liao <michael.liao@intel.com> | 2013-04-29 22:41:29 +0000 |
| commit | c83b3e79fcde070f5d2aafd994160cbcdd5bbe0d (patch) | |
| tree | 8c0987fb754bbfe6fb08539e7bf3a5123571f96f /llvm/test/CodeGen/X86/subreg-to-reg-3.ll | |
| parent | 03ae57b5afb21f74fe48041f0c735949cad8144c (diff) | |
| download | bcm5719-llvm-c83b3e79fcde070f5d2aafd994160cbcdd5bbe0d.tar.gz bcm5719-llvm-c83b3e79fcde070f5d2aafd994160cbcdd5bbe0d.zip | |
Rewrite some tests with FileCHeck in X86 codegen
- Revise previous patches of the same purpose by fixing
*) grep <PA> | not grep <PB> semantically is not the same as
CHECK: <PA>{{^<PB>.*$}} as the former will check all occurrences of <PA>
while the later only check the first match. As the result, CHECK needs
putting in all place where <PA> occurs.
*) grep <PA> | count <N> needs a final CHECK-NOT of the same pattern.
(As 'CHECK-<N>' is proposed for discussion, converting 'grep | count <N>'
where N > 1 is postponed.)
llvm-svn: 180742
Diffstat (limited to 'llvm/test/CodeGen/X86/subreg-to-reg-3.ll')
| -rw-r--r-- | llvm/test/CodeGen/X86/subreg-to-reg-3.ll | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/llvm/test/CodeGen/X86/subreg-to-reg-3.ll b/llvm/test/CodeGen/X86/subreg-to-reg-3.ll index 931ae758ac5..80ab1a2e249 100644 --- a/llvm/test/CodeGen/X86/subreg-to-reg-3.ll +++ b/llvm/test/CodeGen/X86/subreg-to-reg-3.ll @@ -1,4 +1,6 @@ -; RUN: llc < %s -march=x86-64 | grep imull +; RUN: llc < %s -march=x86-64 | FileCheck %s + +; CHECK: imull ; Don't eliminate or coalesce away the explicit zero-extension! |

