forked from OSchip/llvm-project
parent
ea1b353e67
commit
1d54d2210a
|
@ -10,11 +10,11 @@ define <4 x float> @test1(<4 x float> %a) nounwind {
|
|||
}
|
||||
|
||||
; rdar://10538417
|
||||
define <3 x i64> @test2(<3 x i64> %v) nounwind readnone {
|
||||
define <3 x i64> @test2(<2 x i64> %v) nounwind readnone {
|
||||
; CHECK: test2:
|
||||
; CHECK: vxorps
|
||||
; CHECK: vxorpd
|
||||
; CHECK: vmovsd
|
||||
%1 = shufflevector <2 x i64> undef, <2 x i64> undef, <3 x i32> <i32 0, i32 1, i32 undef>
|
||||
%1 = shufflevector <2 x i64> %v, <2 x i64> %v, <3 x i32> <i32 0, i32 1, i32 undef>
|
||||
%2 = shufflevector <3 x i64> zeroinitializer, <3 x i64> %1, <3 x i32> <i32 3, i32 4, i32 2>
|
||||
ret <3 x i64> %2
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue