YouCompleteMe/cpp/llvm/test/CodeGen/X86/avx-bitcast.ll
2012-07-05 17:51:06 -07:00

11 lines
244 B
LLVM

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