llvm.org GIT mirror llvm / 152c72d
add two new insert_element tests git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@26850 91177308-0d34-0410-b5e6-96231b3b80d8 Chris Lattner 14 years ago
1 changed file(s) with 12 addition(s) and 0 deletion(s). Raw diff Collapse all Expand all
6363 store %f4 %R, %f4 *%S
6464 ret void
6565 }
66
67 void %test_constant_insert(%f4 *%S) {
68 %R = insertelement %f4 zeroinitializer, float 10.0, uint 0
69 store %f4 %R, %f4 *%S
70 ret void
71 }
72
73 void %test_variable_buildvector(float %F, %f4 *%S) {
74 %R = insertelement %f4 zeroinitializer, float %F, uint 0
75 store %f4 %R, %f4 *%S
76 ret void
77 }