diff options
Diffstat (limited to 'test/Analysis/TypeBasedAliasAnalysis/aliastest.ll')
-rw-r--r-- | test/Analysis/TypeBasedAliasAnalysis/aliastest.ll | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/test/Analysis/TypeBasedAliasAnalysis/aliastest.ll b/test/Analysis/TypeBasedAliasAnalysis/aliastest.ll index 10da13a..93c34f9 100644 --- a/test/Analysis/TypeBasedAliasAnalysis/aliastest.ll +++ b/test/Analysis/TypeBasedAliasAnalysis/aliastest.ll @@ -5,9 +5,9 @@ ; CHECK: @test0_yes ; CHECK: add i8 %x, %x define i8 @test0_yes(i8* %a, i8* %b) nounwind { - %x = load i8* %a, !tbaa !1 + %x = load i8, i8* %a, !tbaa !1 store i8 0, i8* %b, !tbaa !2 - %y = load i8* %a, !tbaa !1 + %y = load i8, i8* %a, !tbaa !1 %z = add i8 %x, %y ret i8 %z } @@ -15,9 +15,9 @@ define i8 @test0_yes(i8* %a, i8* %b) nounwind { ; CHECK: @test0_no ; CHECK: add i8 %x, %y define i8 @test0_no(i8* %a, i8* %b) nounwind { - %x = load i8* %a, !tbaa !3 + %x = load i8, i8* %a, !tbaa !3 store i8 0, i8* %b, !tbaa !4 - %y = load i8* %a, !tbaa !3 + %y = load i8, i8* %a, !tbaa !3 %z = add i8 %x, %y ret i8 %z } @@ -27,9 +27,9 @@ define i8 @test0_no(i8* %a, i8* %b) nounwind { ; CHECK: @test1_yes ; CHECK: add i8 %x, %x define i8 @test1_yes(i8* %a, i8* %b) nounwind { - %x = load i8* %a, !tbaa !5 + %x = load i8, i8* %a, !tbaa !5 store i8 0, i8* %b - %y = load i8* %a, !tbaa !5 + %y = load i8, i8* %a, !tbaa !5 %z = add i8 %x, %y ret i8 %z } @@ -37,9 +37,9 @@ define i8 @test1_yes(i8* %a, i8* %b) nounwind { ; CHECK: @test1_no ; CHECK: add i8 %x, %y define i8 @test1_no(i8* %a, i8* %b) nounwind { - %x = load i8* %a, !tbaa !6 + %x = load i8, i8* %a, !tbaa !6 store i8 0, i8* %b - %y = load i8* %a, !tbaa !6 + %y = load i8, i8* %a, !tbaa !6 %z = add i8 %x, %y ret i8 %z } |