mirror of
https://github.com/RPCS3/llvm.git
synced 2024-12-26 22:26:16 +00:00
36a0947820
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@81290 91177308-0d34-0410-b5e6-96231b3b80d8
13 lines
394 B
LLVM
13 lines
394 B
LLVM
; RUN: llc < %s -march=x86 -mattr=+sse2 | grep movq
|
|
|
|
define <4 x float> @a(<4 x float> %a, float* nocapture %p) nounwind readonly {
|
|
entry:
|
|
%tmp1 = load float* %p
|
|
%vecins = insertelement <4 x float> undef, float %tmp1, i32 0
|
|
%add.ptr = getelementptr float* %p, i32 1
|
|
%tmp5 = load float* %add.ptr
|
|
%vecins7 = insertelement <4 x float> %vecins, float %tmp5, i32 1
|
|
ret <4 x float> %vecins7
|
|
}
|
|
|