• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1; RUN: llc < %s -march=x86 -mattr=+sse2 | FileCheck %s
2
3define void @f(<4 x float> %A, i8* %B, <2 x double> %C, i32 %D, <2 x i64> %E) {
4; CHECK: movntps
5  %cast = bitcast i8* %B to <4 x float>*
6  store <4 x float> %A, <4 x float>* %cast, align 16, !nontemporal !0
7; CHECK: movntdq
8  %cast1 = bitcast i8* %B to <2 x i64>*
9  store <2 x i64> %E, <2 x i64>* %cast1, align 16, !nontemporal !0
10; CHECK: movntpd
11  %cast2 = bitcast i8* %B to <2 x double>*
12  store <2 x double> %C, <2 x double>* %cast2, align 16, !nontemporal !0
13; CHECK: movnti
14  %cast3 = bitcast i8* %B to i32*
15  store i32 %D, i32* %cast3, align 16, !nontemporal !0
16  ret void
17}
18
19!0 = metadata !{i32 1}
20