mirror of
https://github.com/RPCS3/llvm.git
synced 2024-12-14 07:31:53 +00:00
a3ba15a9c9
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@234024 91177308-0d34-0410-b5e6-96231b3b80d8
14 lines
358 B
LLVM
14 lines
358 B
LLVM
; RUN: llc < %s -O0 -mtriple=x86_64-unknown-unknown -mattr=+avx | FileCheck %s
|
|
|
|
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
|
|
}
|
|
|