1; NOTE: Assertions have been autogenerated by utils/update_llc_test_checks.py
2; RUN: llc < %s -mtriple=x86_64-- -mattr=-avx | FileCheck %s
3
4define i64 @test1(double %A) {
5; CHECK-LABEL: test1:
6; CHECK:       # %bb.0:
7; CHECK-NEXT:    movq %xmm0, %rax
8; CHECK-NEXT:    retq
9   %B = bitcast double %A to i64
10   ret i64 %B
11}
12
13define double @test2(i64 %A) {
14; CHECK-LABEL: test2:
15; CHECK:       # %bb.0:
16; CHECK-NEXT:    movq %rdi, %xmm0
17; CHECK-NEXT:    retq
18   %B = bitcast i64 %A to double
19   ret double %B
20}
21
22