projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7488190
)
add a new testcase. This insertelement should be a noop on SSE.
author
Chris Lattner
<sabre@nondot.org>
Sun, 19 Mar 2006 05:46:51 +0000
(
05:46
+0000)
committer
Chris Lattner
<sabre@nondot.org>
Sun, 19 Mar 2006 05:46:51 +0000
(
05:46
+0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@26859
91177308
-0d34-0410-b5e6-
96231b3b80d8
test/CodeGen/Generic/vector.ll
patch
|
blob
|
history
diff --git
a/test/CodeGen/Generic/vector.ll
b/test/CodeGen/Generic/vector.ll
index a015e6fd1c303143d88a783144a779cdff8d20db..277110bebeb19de7401731272e7673953e50ae84 100644
(file)
--- a/
test/CodeGen/Generic/vector.ll
+++ b/
test/CodeGen/Generic/vector.ll
@@
-79,6
+79,12
@@
void %test_variable_buildvector(float %F, %f4 *%S) {
ret void
}
+void %test_scalar_to_vector(float %F, %f4 *%S) {
+ %R = insertelement %f4 undef, float %F, uint 0 ;; R = scalar_to_vector F
+ store %f4 %R, %f4 *%S
+ ret void
+}
+
;;; TEST IMPORTANT IDIOMS
void %splat(%f4* %P, %f4* %Q, float %X) {