diff options
author | Stephen Hines <srhines@google.com> | 2015-04-01 18:49:24 +0000 |
---|---|---|
committer | Gerrit Code Review <noreply-gerritcodereview@google.com> | 2015-04-01 18:49:26 +0000 |
commit | 3fa16bd6062e23bcdb82ed4dd965674792e6b761 (patch) | |
tree | 9348fc507292f7e8715d22d64ce5a32131b4f875 /test/CodeGen/X86/mmx-punpckhdq.ll | |
parent | beed47390a60f6f0c77532b3d3f76bb47ef49423 (diff) | |
parent | ebe69fe11e48d322045d5949c83283927a0d790b (diff) | |
download | external_llvm-3fa16bd6062e23bcdb82ed4dd965674792e6b761.zip external_llvm-3fa16bd6062e23bcdb82ed4dd965674792e6b761.tar.gz external_llvm-3fa16bd6062e23bcdb82ed4dd965674792e6b761.tar.bz2 |
Merge "Update aosp/master LLVM for rebase to r230699."
Diffstat (limited to 'test/CodeGen/X86/mmx-punpckhdq.ll')
-rw-r--r-- | test/CodeGen/X86/mmx-punpckhdq.ll | 31 |
1 files changed, 0 insertions, 31 deletions
diff --git a/test/CodeGen/X86/mmx-punpckhdq.ll b/test/CodeGen/X86/mmx-punpckhdq.ll deleted file mode 100644 index 9e8f5bf..0000000 --- a/test/CodeGen/X86/mmx-punpckhdq.ll +++ /dev/null @@ -1,31 +0,0 @@ -; RUN: llc < %s -march=x86 -mattr=+mmx,+sse4.2 -mtriple=x86_64-apple-darwin10 | FileCheck %s -; There are no MMX operations in bork; promoted to XMM. - -define void @bork(<1 x i64>* %x) { -; CHECK: bork -; CHECK: movlpd -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] - %tmp9 = shufflevector <2 x i32> %tmp6, <2 x i32> undef, <2 x i32> < i32 1, i32 1 > ; <<2 x i32>> [#uses=1] - %tmp10 = bitcast <2 x i32> %tmp9 to <1 x i64> ; <<1 x i64>> [#uses=1] - store <1 x i64> %tmp10, <1 x i64>* %x - tail call void @llvm.x86.mmx.emms( ) - ret void -} - -; pork uses MMX. - -define void @pork(x86_mmx* %x) { -; CHECK: pork -; 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) - store x86_mmx %tmp9, x86_mmx* %x - tail call void @llvm.x86.mmx.emms( ) - ret void -} - -declare x86_mmx @llvm.x86.mmx.punpckhdq(x86_mmx, x86_mmx) -declare void @llvm.x86.mmx.emms() |