diff options
author | Manman Ren <manman.ren@gmail.com> | 2013-09-30 18:17:55 +0000 |
---|---|---|
committer | Manman Ren <manman.ren@gmail.com> | 2013-09-30 18:17:55 +0000 |
commit | e267f04ef577781f8551a1514f5a781d6a860a2c (patch) | |
tree | b9716616e86ed6c3303e50e7fab07ac406402813 /test/CodeGen/PowerPC/glob-comp-aa-crash.ll | |
parent | aef1b378242dee5f17e440344258460e1dedbb4b (diff) | |
download | external_llvm-e267f04ef577781f8551a1514f5a781d6a860a2c.zip external_llvm-e267f04ef577781f8551a1514f5a781d6a860a2c.tar.gz external_llvm-e267f04ef577781f8551a1514f5a781d6a860a2c.tar.bz2 |
TBAA: update tbaa format from scalar format to struct-path aware format.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@191690 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/CodeGen/PowerPC/glob-comp-aa-crash.ll')
-rw-r--r-- | test/CodeGen/PowerPC/glob-comp-aa-crash.ll | 14 |
1 files changed, 8 insertions, 6 deletions
diff --git a/test/CodeGen/PowerPC/glob-comp-aa-crash.ll b/test/CodeGen/PowerPC/glob-comp-aa-crash.ll index 3e4ef52..f97d0ff 100644 --- a/test/CodeGen/PowerPC/glob-comp-aa-crash.ll +++ b/test/CodeGen/PowerPC/glob-comp-aa-crash.ll @@ -25,9 +25,9 @@ entry: %agg.tmp = alloca %"class.std::__exception_ptr::exception_ptr", align 8 %__mut_ = getelementptr inbounds %"class.std::__1::__assoc_sub_state"* %this, i64 0, i32 2 %__m_.i.i = getelementptr inbounds %"class.std::__1::unique_lock"* %__lk, i64 0, i32 0 - store %"class.std::__1::mutex"* %__mut_, %"class.std::__1::mutex"** %__m_.i.i, align 8, !tbaa !0 + store %"class.std::__1::mutex"* %__mut_, %"class.std::__1::mutex"** %__m_.i.i, align 8, !tbaa !5 %__owns_.i.i = getelementptr inbounds %"class.std::__1::unique_lock"* %__lk, i64 0, i32 1 - store i8 1, i8* %__owns_.i.i, align 8, !tbaa !3 + store i8 1, i8* %__owns_.i.i, align 8, !tbaa !6 call void @_ZNSt3__15mutex4lockEv(%"class.std::__1::mutex"* %__mut_) #4 invoke void @_ZNSt3__117__assoc_sub_state10__sub_waitERNS_11unique_lockINS_5mutexEEE(%"class.std::__1::__assoc_sub_state"* %this, %"class.std::__1::unique_lock"* %__lk) #4 to label %invoke.cont unwind label %lpad @@ -65,12 +65,12 @@ lpad3: ; preds = %if.then br label %ehcleanup if.end: ; preds = %invoke.cont - %7 = load i8* %__owns_.i.i, align 8, !tbaa !3, !range !4 + %7 = load i8* %__owns_.i.i, align 8, !tbaa !6, !range !4 %tobool.i.i = icmp eq i8 %7, 0 br i1 %tobool.i.i, label %_ZNSt3__111unique_lockINS_5mutexEED1Ev.exit, label %if.then.i.i if.then.i.i: ; preds = %if.end - %8 = load %"class.std::__1::mutex"** %__m_.i.i, align 8, !tbaa !0 + %8 = load %"class.std::__1::mutex"** %__m_.i.i, align 8, !tbaa !5 call void @_ZNSt3__15mutex6unlockEv(%"class.std::__1::mutex"* %8) #5 br label %_ZNSt3__111unique_lockINS_5mutexEED1Ev.exit @@ -80,12 +80,12 @@ _ZNSt3__111unique_lockINS_5mutexEED1Ev.exit: ; preds = %if.then.i.i, %if.en ehcleanup: ; preds = %lpad3, %lpad %exn.slot.0 = phi i8* [ %5, %lpad3 ], [ %2, %lpad ] %ehselector.slot.0 = phi i32 [ %6, %lpad3 ], [ %3, %lpad ] - %9 = load i8* %__owns_.i.i, align 8, !tbaa !3, !range !4 + %9 = load i8* %__owns_.i.i, align 8, !tbaa !6, !range !4 %tobool.i.i9 = icmp eq i8 %9, 0 br i1 %tobool.i.i9, label %_ZNSt3__111unique_lockINS_5mutexEED1Ev.exit12, label %if.then.i.i11 if.then.i.i11: ; preds = %ehcleanup - %10 = load %"class.std::__1::mutex"** %__m_.i.i, align 8, !tbaa !0 + %10 = load %"class.std::__1::mutex"** %__m_.i.i, align 8, !tbaa !5 call void @_ZNSt3__15mutex6unlockEv(%"class.std::__1::mutex"* %10) #5 br label %_ZNSt3__111unique_lockINS_5mutexEED1Ev.exit12 @@ -135,3 +135,5 @@ attributes #6 = { noreturn optsize } !2 = metadata !{metadata !"Simple C/C++ TBAA"} !3 = metadata !{metadata !"bool", metadata !1} !4 = metadata !{i8 0, i8 2} +!5 = metadata !{metadata !0, metadata !0, i64 0} +!6 = metadata !{metadata !3, metadata !3, i64 0} |