1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-23 19:23:23 +01:00
llvm-mirror/test/CodeGen/X86/pr28472.ll
2019-08-26 13:53:29 +00:00

13 lines
459 B
LLVM

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