diff options
author | Bill Wendling <isanbard@gmail.com> | 2010-10-01 08:50:12 +0000 |
---|---|---|
committer | Bill Wendling <isanbard@gmail.com> | 2010-10-01 08:50:12 +0000 |
commit | 2b0ab5c370c006b71427473cce7e562623d4f1ee (patch) | |
tree | bef1c243f4a32ac8854d6532b8e5485905a0aee6 /test/CodeGen/X86 | |
parent | 6bf263b4a2837161f827dbd711957d0e3ffa16e2 (diff) | |
download | llvm-2b0ab5c370c006b71427473cce7e562623d4f1ee.tar.gz llvm-2b0ab5c370c006b71427473cce7e562623d4f1ee.tar.bz2 llvm-2b0ab5c370c006b71427473cce7e562623d4f1ee.tar.xz |
FileCheck-ize this test.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@115303 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/CodeGen/X86')
-rw-r--r-- | test/CodeGen/X86/mmx-punpckhdq.ll | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/test/CodeGen/X86/mmx-punpckhdq.ll b/test/CodeGen/X86/mmx-punpckhdq.ll index 2bd56433f7..a7c0c05a86 100644 --- a/test/CodeGen/X86/mmx-punpckhdq.ll +++ b/test/CodeGen/X86/mmx-punpckhdq.ll @@ -1,8 +1,9 @@ -; RUN: llc < %s -march=x86 -mattr=+mmx,+sse2 | grep pextrd -; RUN: llc < %s -march=x86 -mattr=+mmx,+sse2 | grep punpckhdq | count 1 +; RUN: llc < %s -march=x86 -mattr=+mmx,+sse2 | FileCheck %s +; RUN: llc < %s -march=x86 -mattr=+mmx,+sse2 | FileCheck %s ; There are no MMX operations in bork; promoted to XMM. define void @bork(<1 x i64>* %x) { +; CHECK: pextrd entry: %tmp2 = load <1 x i64>* %x ; <<1 x i64>> [#uses=1] %tmp6 = bitcast <1 x i64> %tmp2 to <2 x i32> ; <<2 x i32>> [#uses=1] @@ -16,6 +17,7 @@ entry: ; pork uses MMX. define void @pork(x86_mmx* %x) { +; CHECK: punpckhdq entry: %tmp2 = load x86_mmx* %x ; <x86_mmx> [#uses=1] %tmp9 = tail call x86_mmx @llvm.x86.mmx.punpckhdq (x86_mmx %tmp2, x86_mmx %tmp2) |