mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-26 05:32:25 +00:00
Remove unnecessary TBAA metadata from r190636's test case
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@190637 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
6671cd4db0
commit
8d7ed3be84
@ -10,7 +10,7 @@ target triple = "powerpc64-unknown-linux-gnu"
|
||||
; Function Attrs: nounwind
|
||||
define void @test1(i64 %d1, i64 %d2, i64 %d3, i64 %d4, i64 %d5, i64 %d6, i64 %d7, i64 %d8, i64 %d9, <4 x float> inreg %vs.coerce) #0 {
|
||||
entry:
|
||||
store <4 x float> %vs.coerce, <4 x float>* @ve, align 16, !tbaa !0
|
||||
store <4 x float> %vs.coerce, <4 x float>* @ve, align 16
|
||||
ret void
|
||||
|
||||
; CHECK-LABEL: @test1
|
||||
@ -22,11 +22,11 @@ entry:
|
||||
define void @test2(i64 %d1, i64 %d2, i64 %d3, i64 %d4, i64 %d5, i64 %d6, i64 %d7, i64 %d8, %struct.s2* byval nocapture readonly %vs) #0 {
|
||||
entry:
|
||||
%m = getelementptr inbounds %struct.s2* %vs, i64 0, i32 0
|
||||
%0 = load i64* %m, align 8, !tbaa !2
|
||||
store i64 %0, i64* @n, align 8, !tbaa !2
|
||||
%0 = load i64* %m, align 8
|
||||
store i64 %0, i64* @n, align 8
|
||||
%v = getelementptr inbounds %struct.s2* %vs, i64 0, i32 1
|
||||
%1 = load <4 x float>* %v, align 16, !tbaa !0
|
||||
store <4 x float> %1, <4 x float>* @ve, align 16, !tbaa !0
|
||||
%1 = load <4 x float>* %v, align 16
|
||||
store <4 x float> %1, <4 x float>* @ve, align 16
|
||||
ret void
|
||||
|
||||
; CHECK-LABEL: @test2
|
||||
@ -41,11 +41,11 @@ entry:
|
||||
define void @test3(i64 %d1, i64 %d2, i64 %d3, i64 %d4, i64 %d5, i64 %d6, i64 %d7, i64 %d8, i64 %d9, %struct.s2* byval nocapture readonly %vs) #0 {
|
||||
entry:
|
||||
%m = getelementptr inbounds %struct.s2* %vs, i64 0, i32 0
|
||||
%0 = load i64* %m, align 8, !tbaa !2
|
||||
store i64 %0, i64* @n, align 8, !tbaa !2
|
||||
%0 = load i64* %m, align 8
|
||||
store i64 %0, i64* @n, align 8
|
||||
%v = getelementptr inbounds %struct.s2* %vs, i64 0, i32 1
|
||||
%1 = load <4 x float>* %v, align 16, !tbaa !0
|
||||
store <4 x float> %1, <4 x float>* @ve, align 16, !tbaa !0
|
||||
%1 = load <4 x float>* %v, align 16
|
||||
store <4 x float> %1, <4 x float>* @ve, align 16
|
||||
ret void
|
||||
|
||||
; CHECK-LABEL: @test3
|
||||
@ -58,7 +58,3 @@ entry:
|
||||
|
||||
attributes #0 = { nounwind }
|
||||
|
||||
!0 = metadata !{metadata !"omnipotent char", metadata !1}
|
||||
!1 = metadata !{metadata !"Simple C/C++ TBAA"}
|
||||
!2 = metadata !{metadata !"long", metadata !0}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user