mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-08-05 13:26:55 +00:00
TBAA: remove !tbaa from testing cases when they are not needed.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@191689 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -5,10 +5,10 @@
|
||||
|
||||
define void @word(i32* nocapture %a) nounwind {
|
||||
entry:
|
||||
%0 = load i32* %a, align 4, !tbaa !0
|
||||
%0 = load i32* %a, align 4
|
||||
%1 = zext i32 %0 to i64
|
||||
%add.ptr = getelementptr inbounds i32* %a, i32 1
|
||||
%2 = load i32* %add.ptr, align 4, !tbaa !0
|
||||
%2 = load i32* %add.ptr, align 4
|
||||
%3 = zext i32 %2 to i64
|
||||
%4 = shl nuw i64 %3, 32
|
||||
%ins = or i64 %4, %1
|
||||
@@ -17,7 +17,3 @@ entry:
|
||||
}
|
||||
|
||||
declare void @bar(i64)
|
||||
|
||||
!0 = metadata !{metadata !"int", metadata !1}
|
||||
!1 = metadata !{metadata !"omnipotent char", metadata !2}
|
||||
!2 = metadata !{metadata !"Simple C/C++ TBAA"}
|
||||
|
Reference in New Issue
Block a user