summaryrefslogtreecommitdiffstats
path: root/llvm/test/CodeGen/ARM/vget_lane.ll
diff options
context:
space:
mode:
authorRafael Espindola <rafael.espindola@gmail.com>2010-06-29 14:02:34 +0000
committerRafael Espindola <rafael.espindola@gmail.com>2010-06-29 14:02:34 +0000
commit38a7d7cbc308c6a3f77eac646155ebfa869467ef (patch)
treefce9a15fbc3660096672336bbe42dbdafa71004b /llvm/test/CodeGen/ARM/vget_lane.ll
parentd34bb4e9b0467152bb39eb59cbcb668341b02b0d (diff)
downloadbcm5719-llvm-38a7d7cbc308c6a3f77eac646155ebfa869467ef.tar.gz
bcm5719-llvm-38a7d7cbc308c6a3f77eac646155ebfa869467ef.zip
Add a VT argument to getMinimalPhysRegClass and replace the copy related uses
of getPhysicalRegisterRegClass with it. If we want to make a copy (or estimate its cost), it is better to use the smallest class as more efficient operations might be possible. llvm-svn: 107140
Diffstat (limited to 'llvm/test/CodeGen/ARM/vget_lane.ll')
-rw-r--r--llvm/test/CodeGen/ARM/vget_lane.ll2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/test/CodeGen/ARM/vget_lane.ll b/llvm/test/CodeGen/ARM/vget_lane.ll
index 05e7f509095..bc10da09bb3 100644
--- a/llvm/test/CodeGen/ARM/vget_lane.ll
+++ b/llvm/test/CodeGen/ARM/vget_lane.ll
@@ -205,7 +205,7 @@ define <4 x i32> @vsetQ_lane32(<4 x i32>* %A, i32 %B) nounwind {
define arm_aapcs_vfpcc <2 x float> @test_vset_lanef32(float %arg0_float32_t, <2 x float> %arg1_float32x2_t) nounwind {
;CHECK: test_vset_lanef32:
;CHECK: vmov.f32 s3, s0
-;CHECK: vmov.f64 d0, d1
+;CHECK: vmov d0, d1
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