llvm-project
12 строк · 498.0 Байт
1; RUN: llvm-as < %s | llvm-dis
2
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]
10store <4 x float> %t3, ptr @bar
11ret void
12}
13
14