mirror of
https://github.com/RPCSX/llvm.git
synced 2024-11-26 21:20:37 +00:00
Move testcase, this is testing extraction not inserting.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@176635 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
02c2ecf9f1
commit
36b36de4e8
@ -102,3 +102,21 @@ entry:
|
||||
store <2 x i64> %2, <2 x i64>* %addr, align 1
|
||||
ret void
|
||||
}
|
||||
|
||||
; PR15462
|
||||
define void @t9(i64* %p) {
|
||||
store i64 0, i64* %p
|
||||
%q = getelementptr i64* %p, i64 1
|
||||
store i64 0, i64* %q
|
||||
%r = getelementptr i64* %p, i64 2
|
||||
store i64 0, i64* %r
|
||||
%s = getelementptr i64* %p, i64 3
|
||||
store i64 0, i64* %s
|
||||
ret void
|
||||
|
||||
; CHECK: t9:
|
||||
; CHECK: vxorps %xmm
|
||||
; CHECK-NOT: vextractf
|
||||
; CHECK: vmovups
|
||||
; CHECK: vmovups
|
||||
}
|
||||
|
@ -129,19 +129,3 @@ entry:
|
||||
%2 = tail call <8 x float> @llvm.x86.avx.vinsertf128.ps.256(<8 x float> undef, <4 x float> %1, i8 1)
|
||||
ret <8 x float> %2
|
||||
}
|
||||
|
||||
define void @PR15462(i64* %p) {
|
||||
store i64 0, i64* %p
|
||||
%q = getelementptr i64* %p, i64 1
|
||||
store i64 0, i64* %q
|
||||
%r = getelementptr i64* %p, i64 2
|
||||
store i64 0, i64* %r
|
||||
%s = getelementptr i64* %p, i64 3
|
||||
store i64 0, i64* %s
|
||||
ret void
|
||||
|
||||
; CHECK: PR15462:
|
||||
; CHECK: vxorps %xmm
|
||||
; CHECK: vmovups
|
||||
; CHECK: vmovups
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user