• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1; RUN: llc -mtriple=x86_64-apple-macosx10 -mattr=avx -show-mc-encoding < %s | FileCheck %s
2
3define i64 @t1(double %d_ivar) nounwind uwtable ssp {
4entry:
5; CHECK: t1
6  %0 = bitcast double %d_ivar to i64
7; CHECK: vmovq
8; CHECK: encoding: [0xc4,0xe1,0xf9,0x7e,0xc0]
9  ret i64 %0
10}
11
12define double @t2(i64 %d_ivar) nounwind uwtable ssp {
13entry:
14; CHECK: t2
15  %0 = bitcast i64 %d_ivar to double
16; CHECK: vmovq
17; CHECK: encoding: [0xc4,0xe1,0xf9,0x6e,0xc7]
18  ret double %0
19}
20