blob: d5c7f854b8db879e7149ba8a5a62340006554421 (
plain)
1
2
3
4
5
6
7
8
9
10
11
|
; RUN: llvm-as < %s | opt -instcombine | llvm-dis | grep 'add float'
%V = type <4 x float>
float %test(%V %A, %V %B, float %f) {
%C = insertelement %V %A, float %f, uint 0
%D = add %V %C, %B
%E = extractelement %V %D, uint 0
ret float %E
}
|