git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@234024
91177308-0d34-0410-b5e6-
96231b3b80d8
-; RUN: llc < %s -O0 -mtriple=x86_64-apple-darwin -mcpu=corei7-avx -mattr=+avx | FileCheck %s
+; RUN: llc < %s -O0 -mtriple=x86_64-unknown-unknown -mattr=+avx | FileCheck %s
-; CHECK: vmovsd (%
-; CHECK-NEXT: vmovq %xmm
define i64 @bitcasti64tof64() {
define i64 @bitcasti64tof64() {
+; CHECK-LABEL: bitcasti64tof64:
+; CHECK: # BB#0:
+; CHECK: vmovsd {{.*#+}} xmm0 = mem[0],zero
+; CHECK-NEXT: vmovq %xmm0, %rax
+; CHECK-NEXT: retq
%a = load double, double* undef
%b = bitcast double %a to i64
ret i64 %b
%a = load double, double* undef
%b = bitcast double %a to i64
ret i64 %b