brintos

brintos / llvm-project-archived public Read only

0
0
Text · 498 B · 688f882 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        %t2 = fadd <4 x float> %t0, %t0          ; <<4 x float>> [#uses=1]9        %t3 = select i1 false, <4 x float> %t0, <4 x float> %t2         ; <<4 x float>> [#uses=1]10        store <4 x float> %t3, ptr @bar11        ret void12}13 14