mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-24 03:33:20 +01:00
ad85635a93
tests don't need -disable-mmx. llvm-svn: 122188
11 lines
360 B
LLVM
11 lines
360 B
LLVM
; RUN: llc < %s -march=x86
|
|
|
|
; Test to check that we properly legalize an insert vector element
|
|
define void @test(<2 x i64> %val, <2 x i64>* %dst, i64 %x) nounwind {
|
|
entry:
|
|
%tmp4 = insertelement <2 x i64> %val, i64 %x, i32 0 ; <<2 x i64>> [#uses=1]
|
|
%add = add <2 x i64> %tmp4, %val ; <<2 x i64>> [#uses=1]
|
|
store <2 x i64> %add, <2 x i64>* %dst
|
|
ret void
|
|
}
|