mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-24 22:32:47 +00:00
8 lines
202 B
LLVM
8 lines
202 B
LLVM
|
; RUN: llvm-as < %s | opt -instcombine -disable-output
|
||
|
|
||
|
float %test(<4 x float> %V) {
|
||
|
%V2 = insertelement <4 x float> %V, float 1.0, uint 3
|
||
|
%R = extractelement <4 x float> %V2, uint 2
|
||
|
ret float %R
|
||
|
}
|