add two new insert_element tests

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@26850 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Chris Lattner 2006-03-19 01:27:04 +00:00
parent 2332b9f16f
commit 152c72d88a

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
}