summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--llvm/test/CodeGen/X86/2007-07-03-GR64ToVR64.ll14
1 files changed, 10 insertions, 4 deletions
diff --git a/llvm/test/CodeGen/X86/2007-07-03-GR64ToVR64.ll b/llvm/test/CodeGen/X86/2007-07-03-GR64ToVR64.ll
index bd21e894b77..cb09d8f22cc 100644
--- a/llvm/test/CodeGen/X86/2007-07-03-GR64ToVR64.ll
+++ b/llvm/test/CodeGen/X86/2007-07-03-GR64ToVR64.ll
@@ -1,12 +1,18 @@
+; NOTE: Assertions have been autogenerated by utils/update_llc_test_checks.py
; RUN: llc < %s -mtriple=x86_64-apple-darwin -mattr=+mmx | FileCheck %s
-; CHECK: movq %rsi, [[MM0:%mm[0-9]+]]
-; CHECK: movq %rdi, [[MM1:%mm[0-9]+]]
-; CHECK: paddusw [[MM0]], [[MM1]]
-
@R = external global x86_mmx ; <x86_mmx*> [#uses=1]
define void @foo(<1 x i64> %A, <1 x i64> %B) nounwind {
+; CHECK-LABEL: foo:
+; CHECK: ## %bb.0: ## %entry
+; CHECK-NEXT: movq %rsi, %mm0
+; CHECK-NEXT: movq %rdi, %mm1
+; CHECK-NEXT: paddusw %mm0, %mm1
+; CHECK-NEXT: movq _R@{{.*}}(%rip), %rax
+; CHECK-NEXT: movq %mm1, (%rax)
+; CHECK-NEXT: emms
+; CHECK-NEXT: retq
entry:
%tmp4 = bitcast <1 x i64> %B to x86_mmx ; <<4 x i16>> [#uses=1]
%tmp6 = bitcast <1 x i64> %A to x86_mmx ; <<4 x i16>> [#uses=1]
OpenPOWER on IntegriCloud