diff options
author | Manman Ren <mren@apple.com> | 2013-04-30 17:52:57 +0000 |
---|---|---|
committer | Manman Ren <mren@apple.com> | 2013-04-30 17:52:57 +0000 |
commit | 1a5ff287fd9c65c848409ce860eac8cfabd42eed (patch) | |
tree | 228c005b31c009eadd0009b1b11f0787d503291b /llvm/test/CodeGen/ARM/tail-dup.ll | |
parent | e36d3416abbd1eeb3567834a4c2b05d727a979da (diff) | |
download | bcm5719-llvm-1a5ff287fd9c65c848409ce860eac8cfabd42eed.tar.gz bcm5719-llvm-1a5ff287fd9c65c848409ce860eac8cfabd42eed.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: 180796
Diffstat (limited to 'llvm/test/CodeGen/ARM/tail-dup.ll')
-rw-r--r-- | llvm/test/CodeGen/ARM/tail-dup.ll | 10 |
1 files changed, 3 insertions, 7 deletions
diff --git a/llvm/test/CodeGen/ARM/tail-dup.ll b/llvm/test/CodeGen/ARM/tail-dup.ll index e015bf098ff..eb4d0bab929 100644 --- a/llvm/test/CodeGen/ARM/tail-dup.ll +++ b/llvm/test/CodeGen/ARM/tail-dup.ll @@ -11,19 +11,19 @@ define i32 @fn(i32* nocapture %opcodes) nounwind readonly ssp { entry: - %0 = load i32* %opcodes, align 4, !tbaa !0 + %0 = load i32* %opcodes, align 4 %arrayidx = getelementptr inbounds [3 x i8*]* @fn.codetable, i32 0, i32 %0 br label %indirectgoto INCREMENT: ; preds = %indirectgoto %inc = add nsw i32 %result.0, 1 - %1 = load i32* %opcodes.addr.0, align 4, !tbaa !0 + %1 = load i32* %opcodes.addr.0, align 4 %arrayidx2 = getelementptr inbounds [3 x i8*]* @fn.codetable, i32 0, i32 %1 br label %indirectgoto DECREMENT: ; preds = %indirectgoto %dec = add nsw i32 %result.0, -1 - %2 = load i32* %opcodes.addr.0, align 4, !tbaa !0 + %2 = load i32* %opcodes.addr.0, align 4 %arrayidx4 = getelementptr inbounds [3 x i8*]* @fn.codetable, i32 0, i32 %2 br label %indirectgoto @@ -38,7 +38,3 @@ indirectgoto: ; preds = %DECREMENT, %INCREME RETURN: ; preds = %indirectgoto ret i32 %result.0 } - -!0 = metadata !{metadata !"int", metadata !1} -!1 = metadata !{metadata !"omnipotent char", metadata !2} -!2 = metadata !{metadata !"Simple C/C++ TBAA", null} |