add two new insert_element tests

llvm-svn: 26850
This commit is contained in:
Chris Lattner 2006-03-19 01:27:04 +00:00
parent 29b2301460
commit 891af0b15e
1 changed files with 12 additions and 0 deletions

View File

@ -64,3 +64,15 @@ void %test_undef(%f4 *%P, %f4 *%S) {
store %f4 %R, %f4 *%S
ret void
}
void %test_constant_insert(%f4 *%S) {
%R = insertelement %f4 zeroinitializer, float 10.0, uint 0
store %f4 %R, %f4 *%S
ret void
}
void %test_variable_buildvector(float %F, %f4 *%S) {
%R = insertelement %f4 zeroinitializer, float %F, uint 0
store %f4 %R, %f4 *%S
ret void
}