mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-23 15:29:51 +00:00
ec9a35a6f9
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@47793 91177308-0d34-0410-b5e6-96231b3b80d8
9 lines
307 B
LLVM
9 lines
307 B
LLVM
; RUN: llvm-as < %s | opt -instcombine -disable-output
|
|
|
|
define float @test(<4 x float> %V) {
|
|
%V2 = insertelement <4 x float> %V, float 1.000000e+00, i32 3 ; <<4 x float>> [#uses=1]
|
|
%R = extractelement <4 x float> %V2, i32 2 ; <float> [#uses=1]
|
|
ret float %R
|
|
}
|
|
|