[llvm-commits] CVS: llvm/test/Regression/CodeGen/Generic/vector.ll
Chris Lattner
lattner at cs.uiuc.edu
Sat Mar 18 17:27:15 PST 2006
Changes in directory llvm/test/Regression/CodeGen/Generic:
vector.ll updated: 1.2 -> 1.3
---
Log message:
add two new insert_element tests
---
Diffs of the changes: (+12 -0)
vector.ll | 12 ++++++++++++
1 files changed, 12 insertions(+)
Index: llvm/test/Regression/CodeGen/Generic/vector.ll
diff -u llvm/test/Regression/CodeGen/Generic/vector.ll:1.2 llvm/test/Regression/CodeGen/Generic/vector.ll:1.3
--- llvm/test/Regression/CodeGen/Generic/vector.ll:1.2 Sat Mar 18 18:20:03 2006
+++ llvm/test/Regression/CodeGen/Generic/vector.ll Sat Mar 18 19:27:04 2006
@@ -64,3 +64,15 @@
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
+}
More information about the llvm-commits
mailing list