summaryrefslogtreecommitdiffstats
path: root/llvm/test
diff options
context:
space:
mode:
authorAnton Korobeynikov <asl@math.spbu.ru>2009-08-30 19:06:39 +0000
committerAnton Korobeynikov <asl@math.spbu.ru>2009-08-30 19:06:39 +0000
commit3681144bd8c1375dbbbfe9f4cc0d34fd891c9eae (patch)
tree6edf0f919aae2956295f5b7edb5350a3fb67bf91 /llvm/test
parent5966341a2e16605f989a7d6cde0f78ba8dab0937 (diff)
downloadbcm5719-llvm-3681144bd8c1375dbbbfe9f4cc0d34fd891c9eae.tar.gz
bcm5719-llvm-3681144bd8c1375dbbbfe9f4cc0d34fd891c9eae.zip
Add missed pattern
llvm-svn: 80502
Diffstat (limited to 'llvm/test')
-rw-r--r--llvm/test/CodeGen/ARM/vset_lane.ll7
1 files changed, 7 insertions, 0 deletions
diff --git a/llvm/test/CodeGen/ARM/vset_lane.ll b/llvm/test/CodeGen/ARM/vset_lane.ll
index 279c628aed6..f45f92a65a2 100644
--- a/llvm/test/CodeGen/ARM/vset_lane.ll
+++ b/llvm/test/CodeGen/ARM/vset_lane.ll
@@ -2,6 +2,7 @@
; RUN: grep {vmov\\.8} %t | count 2
; RUN: grep {vmov\\.16} %t | count 2
; RUN: grep {vmov\\.32} %t | count 2
+; RUN: grep {fcpys} %t | count 2
define <8 x i8> @vset_lane8(<8 x i8>* %A, i8 %B) nounwind {
%tmp1 = load <8 x i8>* %A
@@ -38,3 +39,9 @@ define <4 x i32> @vsetQ_lane32(<4 x i32>* %A, i32 %B) nounwind {
%tmp2 = insertelement <4 x i32> %tmp1, i32 %B, i32 1
ret <4 x i32> %tmp2
}
+
+define arm_aapcs_vfpcc <2 x float> @test_vset_lanef32(float %arg0_float32_t, <2 x float> %arg1_float32x2_t) nounwind {
+entry:
+ %0 = insertelement <2 x float> %arg1_float32x2_t, float %arg0_float32_t, i32 1 ; <<2 x float>> [#uses=1]
+ ret <2 x float> %0
+}
OpenPOWER on IntegriCloud