<commit_before>; RUN: llvm-as < %s | llc -march=x86 -mattr=+sse2 | grep movlpd
; RUN: llvm-as < %s | llc -march=x86 -mattr=+sse2 | grep movhpd
; RUN: llvm-as < %s | llc -march=x86 -mattr=+sse2 | not grep movsd

define void @t1(<2 x double>* %r, <2 x double>* %A, double %B) nounwind  {
	%tmp3 = load <2 x double>* %A, align 16
	%tmp7 = insertelement <2 x double> undef, double %B, i32 0
	%tmp9 = shufflevector <2 x double> %tmp3, <2 x double> %tmp7, <2 x i32> < i32 2, i32 1 >
	store <2 x double> %tmp9, <2 x double>* %r, align 16
	ret void
}

define void @t2(<2 x double>* %r, <2 x double>* %A, double %B) nounwind  {
	%tmp3 = load <2 x double>* %A, align 16
	%tmp7 = insertelement <2 x double> undef, double %B, i32 0
	%tmp9 = shufflevector <2 x double> %tmp3, <2 x double> %tmp7, <2 x i32> < i32 0, i32 2 >
	store <2 x double> %tmp9, <2 x double>* %r, align 16
	ret void
}<commit_msg>convert to filecheck.<commit_after>; Tests for SSE2 and below, without SSE3+.
; RUN: llvm-as < %s | llc -march=x86 -mcpu=pentium4 | FileCheck %s

define void @t1(<2 x double>* %r, <2 x double>* %A, double %B) nounwind  {
	%tmp3 = load <2 x double>* %A, align 16
	%tmp7 = insertelement <2 x double> undef, double %B, i32 0
	%tmp9 = shufflevector <2 x double> %tmp3, <2 x double> %tmp7, <2 x i32> < i32 2, i32 1 >
	store <2 x double> %tmp9, <2 x double>* %r, align 16
	ret void
        
; CHECK: t1:
; CHECK: 	movl	8(%esp), %eax
; CHECK: 	movapd	(%eax), %xmm0
; CHECK: 	movlpd	12(%esp), %xmm0
; CHECK: 	movl	4(%esp), %eax
; CHECK: 	movapd	%xmm0, (%eax)
; CHECK: 	ret
}

define void @t2(<2 x double>* %r, <2 x double>* %A, double %B) nounwind  {
	%tmp3 = load <2 x double>* %A, align 16
	%tmp7 = insertelement <2 x double> undef, double %B, i32 0
	%tmp9 = shufflevector <2 x double> %tmp3, <2 x double> %tmp7, <2 x i32> < i32 0, i32 2 >
	store <2 x double> %tmp9, <2 x double>* %r, align 16
	ret void
        
; CHECK: t2:
; CHECK: 	movl	8(%esp), %eax
; CHECK: 	movapd	(%eax), %xmm0
; CHECK: 	movhpd	12(%esp), %xmm0
; CHECK: 	movl	4(%esp), %eax
; CHECK: 	movapd	%xmm0, (%eax)
; CHECK: 	ret
}
{'fraction_non_alphanumeric': 0.1710843373493976, 'fraction_numerical': 0.07421686746987952, 'mean_word_length': 3.4741379310344827, 'pattern_counts': {'":': 0, '<': 47, '<?xml version=': 0, '>': 43, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 8, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '739444', 'n_tokens_mistral': 1018, 'n_tokens_neox': 932, 'n_words': 336}