You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
16 lines
475 B
16 lines
475 B
; NOTE: Assertions have been autogenerated by utils/update_llc_test_checks.py
|
|
; RUN: llc < %s -O0 -mtriple=x86_64-unknown-unknown -mattr=+avx | FileCheck %s
|
|
|
|
define i64 @bitcasti64tof64() {
|
|
; CHECK-LABEL: bitcasti64tof64:
|
|
; CHECK: # %bb.0:
|
|
; CHECK-NEXT: # implicit-def: $rax
|
|
; CHECK-NEXT: 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
|
|
}
|
|
|