diff options
| author | Manman Ren <mren@apple.com> | 2013-04-29 22:42:01 +0000 |
|---|---|---|
| committer | Manman Ren <mren@apple.com> | 2013-04-29 22:42:01 +0000 |
| commit | 662ece49debeabfe724d5e12773d49fa61e939e0 (patch) | |
| tree | 8f786646bd296eb96e099dd470d9490053037243 /llvm/test/Analysis/GlobalsModRef | |
| parent | c83b3e79fcde070f5d2aafd994160cbcdd5bbe0d (diff) | |
| download | bcm5719-llvm-662ece49debeabfe724d5e12773d49fa61e939e0.tar.gz bcm5719-llvm-662ece49debeabfe724d5e12773d49fa61e939e0.zip | |
TBAA: remove !tbaa from testing cases if not used.
This will make it easier to turn on struct-path aware TBAA since the metadata
format will change.
llvm-svn: 180743
Diffstat (limited to 'llvm/test/Analysis/GlobalsModRef')
| -rw-r--r-- | llvm/test/Analysis/GlobalsModRef/volatile-instrs.ll | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/llvm/test/Analysis/GlobalsModRef/volatile-instrs.ll b/llvm/test/Analysis/GlobalsModRef/volatile-instrs.ll index 49bce670b7f..46d3d768bd0 100644 --- a/llvm/test/Analysis/GlobalsModRef/volatile-instrs.ll +++ b/llvm/test/Analysis/GlobalsModRef/volatile-instrs.ll @@ -22,13 +22,9 @@ declare void @llvm.memcpy.p0i8.p0i8.i64(i8* nocapture, i8* nocapture, i64, i32, define i32 @main() nounwind uwtable ssp { main_entry: tail call void @llvm.memcpy.p0i8.p0i8.i64(i8* bitcast (%struct.anon* @b to i8*), i8* bitcast (%struct.anon* @a to i8*), i64 12, i32 4, i1 false) - %0 = load volatile i32* getelementptr inbounds (%struct.anon* @b, i64 0, i32 0), align 4, !tbaa !0 - store i32 %0, i32* @c, align 4, !tbaa !0 + %0 = load volatile i32* getelementptr inbounds (%struct.anon* @b, i64 0, i32 0), align 4 + store i32 %0, i32* @c, align 4 tail call void @llvm.memcpy.p0i8.p0i8.i64(i8* bitcast (%struct.anon* @b to i8*), i8* bitcast (%struct.anon* @a to i8*), i64 12, i32 4, i1 false) nounwind %call = tail call i32 (i8*, ...)* @printf(i8* getelementptr inbounds ([4 x i8]* @.str, i64 0, i64 0), i32 %0) nounwind ret i32 0 } - -!0 = metadata !{metadata !"int", metadata !1} -!1 = metadata !{metadata !"omnipotent char", metadata !2} -!2 = metadata !{metadata !"Simple C/C++ TBAA"} |

