brintos

brintos / llvm-project-archived public Read only

0
0
Text · 498 B · d398c63 Raw
14 lines · plain
1; RUN: llvm-as < %s | llvm-dis2 3@foo = external global <4 x float>              ; <ptr> [#uses=1]4@bar = external global <4 x float>              ; <ptr> [#uses=1]5 6define void @main() {7        %t0 = load <4 x float>, ptr @foo            ; <<4 x float>> [#uses=3]8        %t1 = fadd <4 x float> %t0, %t0          ; <<4 x float>> [#uses=1]9        %t2 = select i1 true, <4 x float> %t0, <4 x float> %t1          ; <<4 x float>> [#uses=1]10        store <4 x float> %t2, ptr @bar11        ret void12}13 14