add a new testcase. This insertelement should be a noop on SSE.

llvm-svn: 26859
This commit is contained in:
Chris Lattner 2006-03-19 05:46:51 +00:00
parent eb5b2e705c
commit 131cfed1c3
1 changed files with 6 additions and 0 deletions

View File

@ -79,6 +79,12 @@ void %test_variable_buildvector(float %F, %f4 *%S) {
ret void
}
void %test_scalar_to_vector(float %F, %f4 *%S) {
%R = insertelement %f4 undef, float %F, uint 0 ;; R = scalar_to_vector F
store %f4 %R, %f4 *%S
ret void
}
;;; TEST IMPORTANT IDIOMS
void %splat(%f4* %P, %f4* %Q, float %X) {