llvm-6502/test/CodeGen/X86/avx-bitcast.ll

11 lines
252 B
LLVM
Raw Normal View History

; RUN: llc < %s -O0 -mtriple=x86_64-apple-darwin -mcpu=corei7-avx -mattr=+avx | FileCheck %s
; CHECK: vmovsd (%
; CHECK-NEXT: vmovq %xmm
define i64 @bitcasti64tof64() {
%a = load double, double* undef
%b = bitcast double %a to i64
ret i64 %b
}