projects
/
oota-llvm.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Fix lowering of INSERT_VECTOR_ELT in SPU.
[oota-llvm.git]
/
test
/
CodeGen
/
CellSPU
/
shuffles.ll
diff --git
a/test/CodeGen/CellSPU/shuffles.ll
b/test/CodeGen/CellSPU/shuffles.ll
index bc087f4d0d593b969765a4d8780bf0e0dc4e15ef..f37d2ae89b00327630dd001c2a80950021c6870c 100644
(file)
--- a/
test/CodeGen/CellSPU/shuffles.ll
+++ b/
test/CodeGen/CellSPU/shuffles.ll
@@
-31,3
+31,11
@@
define void @test_insert( <2 x float>* %ptr, float %val1, float %val2 ) {
ret void
}
+define <4 x float> @test_insert_1(<4 x float> %vparam, float %eltparam) {
+;CHECK: cwd $5, 4($sp)
+;CHECK: shufb $3, $4, $3, $5
+;CHECK: bi $lr
+ %rv = insertelement <4 x float> %vparam, float %eltparam, i32 1
+ ret <4 x float> %rv
+}
+