mirror of
https://github.com/RPCS3/llvm.git
synced 2024-12-04 09:54:09 +00:00
331e2bd942
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@53386 91177308-0d34-0410-b5e6-96231b3b80d8
11 lines
311 B
LLVM
11 lines
311 B
LLVM
; RUN: llvm-as < %s | llc -march=x86 -mattr=+sse2 | grep movss
|
|
; PR2472
|
|
|
|
define <4 x i32> @a(<4 x i32> %a) nounwind {
|
|
entry:
|
|
%vecext = extractelement <4 x i32> %a, i32 0
|
|
insertelement <4 x i32> zeroinitializer, i32 %vecext, i32 0
|
|
%add = add <4 x i32> %a, %0
|
|
ret <4 x i32> %add
|
|
}
|