Mercurial > hg > CbC > CbC_llvm
annotate test/CodeGen/X86/vec_loadsingles.ll @ 0:95c75e76d11b LLVM3.4
LLVM 3.4
author | Kaito Tokumori <e105711@ie.u-ryukyu.ac.jp> |
---|---|
date | Thu, 12 Dec 2013 13:56:28 +0900 |
parents | |
children | 60c9769439b8 |
rev | line source |
---|---|
0 | 1 ; RUN: llc < %s -march=x86 -mattr=+sse2 | grep movq |
2 | |
3 define <4 x float> @a(<4 x float> %a, float* nocapture %p) nounwind readonly { | |
4 entry: | |
5 %tmp1 = load float* %p | |
6 %vecins = insertelement <4 x float> undef, float %tmp1, i32 0 | |
7 %add.ptr = getelementptr float* %p, i32 1 | |
8 %tmp5 = load float* %add.ptr | |
9 %vecins7 = insertelement <4 x float> %vecins, float %tmp5, i32 1 | |
10 ret <4 x float> %vecins7 | |
11 } | |
12 |