aboutsummaryrefslogtreecommitdiffstats
path: root/test/CodeGen/X86/avx-bitcast.ll
blob: bb3e5a5bcbcc810f96e34feadec1e4db1ac66856 (plain)
1
2
3
4
5
6
7
8
9
10
; 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
}