mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-11-16 11:05:54 +00:00
7d2568ca3c
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@103265 91177308-0d34-0410-b5e6-96231b3b80d8
13 lines
594 B
LLVM
13 lines
594 B
LLVM
; RUN: llc < %s -march=x86 -mcpu=yonah -mtriple=i686-apple-darwin8 | grep movaps
|
|
; RUN: llc < %s -march=x86 -mcpu=yonah -mtriple=i686-linux-gnu | grep movups
|
|
|
|
define <4 x float> @foo(float %a, float %b, float %c, float %d) nounwind {
|
|
entry:
|
|
%tmp6 = insertelement <4 x float> undef, float %a, i32 0
|
|
%tmp7 = insertelement <4 x float> %tmp6, float %b, i32 1
|
|
%tmp8 = insertelement <4 x float> %tmp7, float %c, i32 2
|
|
%tmp9 = insertelement <4 x float> %tmp8, float %d, i32 3
|
|
ret <4 x float> %tmp9
|
|
}
|
|
|