mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-23 19:23:23 +01:00
add two new insert_element tests
llvm-svn: 26850
This commit is contained in:
parent
bf4033f63a
commit
595534e8e9
@ -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
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user