1; NOTE: Assertions have been autogenerated by utils/update_llc_test_checks.py
2; RUN: llc -mtriple=x86_64-unknown-linux-gnu < %s | FileCheck %s
3
4define float @same_dynamic_index_fp_vector_type(float %val, i32 %idx) {
5; CHECK-LABEL: same_dynamic_index_fp_vector_type:
6; CHECK:       # %bb.0: # %bb
7; CHECK-NEXT:    retq
8bb:
9  %tmp0 = insertelement <4 x float> undef, float %val, i32 %idx
10  %tmp1 = extractelement <4 x float> %tmp0, i32 %idx
11  ret float %tmp1
12}
13