mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-01-12 17:32:19 +00:00
we're now handling this right :)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@40675 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
268479f454
commit
b59e985cdb
12
test/CodeGen/X86/sse-align-11.ll
Normal file
12
test/CodeGen/X86/sse-align-11.ll
Normal file
@ -0,0 +1,12 @@
|
||||
; RUN: llvm-as < %s | llc -march=x86 -mcpu=yonah -mtriple=darwin | grep movaps
|
||||
; RUN: llvm-as < %s | llc -march=x86 -mcpu=yonah -mtriple=linux | grep movups
|
||||
|
||||
define <4 x float> @foo(float %a, float %b, float %c, float %d) {
|
||||
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
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user