diff options
author | Anton Korobeynikov <asl@math.spbu.ru> | 2009-08-30 19:06:39 +0000 |
---|---|---|
committer | Anton Korobeynikov <asl@math.spbu.ru> | 2009-08-30 19:06:39 +0000 |
commit | d33527768525e6447c6fdcf521ffb975165dbc7a (patch) | |
tree | e79d2454b62c2fcfe1d0a602061e1b78d183518a /test/CodeGen/ARM/vset_lane.ll | |
parent | ad7516ac00ede459691feba7f448a4c3654ea6fc (diff) | |
download | external_llvm-d33527768525e6447c6fdcf521ffb975165dbc7a.zip external_llvm-d33527768525e6447c6fdcf521ffb975165dbc7a.tar.gz external_llvm-d33527768525e6447c6fdcf521ffb975165dbc7a.tar.bz2 |
Add missed pattern
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@80502 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/CodeGen/ARM/vset_lane.ll')
-rw-r--r-- | test/CodeGen/ARM/vset_lane.ll | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/test/CodeGen/ARM/vset_lane.ll b/test/CodeGen/ARM/vset_lane.ll index 279c628..f45f92a 100644 --- a/test/CodeGen/ARM/vset_lane.ll +++ b/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 +} |