xref: /aosp_15_r20/external/llvm/test/CodeGen/X86/sse-align-11.ll (revision 9880d6810fe72a1726cb53787c6711e909410d58)
1*9880d681SAndroid Build Coastguard Worker; RUN: llc < %s -march=x86 -mcpu=yonah -mtriple=i686-apple-darwin8 | grep movaps
2*9880d681SAndroid Build Coastguard Worker; RUN: llc < %s -march=x86 -mcpu=yonah -mtriple=i686-linux-gnu | grep movaps
3*9880d681SAndroid Build Coastguard Worker; PR8969 - make 32-bit linux have a 16-byte aligned stack
4*9880d681SAndroid Build Coastguard Worker
5*9880d681SAndroid Build Coastguard Workerdefine <4 x float> @foo(float %a, float %b, float %c, float %d) nounwind {
6*9880d681SAndroid Build Coastguard Workerentry:
7*9880d681SAndroid Build Coastguard Worker        %tmp6 = insertelement <4 x float> undef, float %a, i32 0
8*9880d681SAndroid Build Coastguard Worker        %tmp7 = insertelement <4 x float> %tmp6, float %b, i32 1
9*9880d681SAndroid Build Coastguard Worker        %tmp8 = insertelement <4 x float> %tmp7, float %c, i32 2
10*9880d681SAndroid Build Coastguard Worker        %tmp9 = insertelement <4 x float> %tmp8, float %d, i32 3
11*9880d681SAndroid Build Coastguard Worker        ret <4 x float> %tmp9
12*9880d681SAndroid Build Coastguard Worker}
13*9880d681SAndroid Build Coastguard Worker
14