mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-25 20:23:11 +01:00
[SROA] Amend failing test from D95826
This commit is contained in:
parent
b4b6eeb835
commit
22538a37c5
@ -35,8 +35,8 @@ define double @bar(%struct.Wishart* %wishart) {
|
||||
; CHECK-NEXT: %tmp.sroa.2.0.copyload = load i32, i32* %tmp.sroa.2.0.waddr.sroa_idx1, align 8, !tbaa.struct !7
|
||||
; CHECK-NEXT: %tmp.sroa.3.0.waddr.sroa_raw_cast = bitcast %struct.Wishart* %wishart to i8*
|
||||
; CHECK-NEXT: %tmp.sroa.3.0.waddr.sroa_raw_idx = getelementptr inbounds i8, i8* %tmp.sroa.3.0.waddr.sroa_raw_cast, i64 12
|
||||
; CHECK-NEXT: %tmp.sroa.3.0.tmpaddr.sroa_idx = getelementptr inbounds [4 x i8], [4 x i8]* %tmp.sroa.3, i64 0, i64 0
|
||||
; CHECK-NEXT: call void @llvm.memcpy.p0i8.p0i8.i64(i8* align 4 %tmp.sroa.3.0.tmpaddr.sroa_idx, i8* align 4 %tmp.sroa.3.0.waddr.sroa_raw_idx, i64 4, i1 false), !tbaa.struct !8
|
||||
; CHECK-NEXT: %[[sroa_idx:.+]] = getelementptr inbounds [4 x i8], [4 x i8]* %tmp.sroa.3, i64 0, i64 0
|
||||
; CHECK-NEXT: call void @llvm.memcpy.p0i8.p0i8.i64(i8* align 4 %[[sroa_idx]], i8* align 4 %tmp.sroa.3.0.waddr.sroa_raw_idx, i64 4, i1 false), !tbaa.struct !8
|
||||
; CHECK-NEXT: %call = call double @subcall(double %tmp.sroa.0.0.copyload, i32 %tmp.sroa.2.0.copyload)
|
||||
; CHECK-NEXT: ret double %call
|
||||
; CHECK-NEXT: }
|
||||
@ -48,4 +48,4 @@ define double @bar(%struct.Wishart* %wishart) {
|
||||
; CHECK: !5 = !{!6, !6, i64 0}
|
||||
; CHECK: !6 = !{!"int", !{{[0-9]+}}, i64 0}
|
||||
; CHECK: !7 = !{i64 0, i64 4, !5}
|
||||
; CHECK: !8 = !{}
|
||||
; CHECK: !8 = !{}
|
||||
|
Loading…
Reference in New Issue
Block a user