From e1f3de55acef92ef59e278dc813443082f79ce23 Mon Sep 17 00:00:00 2001 From: Simon Pilgrim Date: Wed, 21 Feb 2018 15:05:47 +0000 Subject: [PATCH] [X86] Regenerate GPR:XMM bitcast test llvm-svn: 325684 --- llvm/test/CodeGen/X86/2007-07-03-GR64ToVR64.ll | 14 ++++++++++---- 1 file 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 bd21e89..cb09d8f 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 ; [#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] -- 2.7.4