diff options
author | Nuno Lopes <nunoplopes@sapo.pt> | 2012-05-22 15:25:31 +0000 |
---|---|---|
committer | Nuno Lopes <nunoplopes@sapo.pt> | 2012-05-22 15:25:31 +0000 |
commit | ad40c0a4252a549388c299fa80d15dc67f13242e (patch) | |
tree | 7f844ef2326d4cbbebe01dc6f7262d9db3ee015a /llvm/test/CodeGen/ARM/divmod.ll | |
parent | 924279ca0e2f9990e8cd6bc240f8ca5359540868 (diff) | |
download | bcm5719-llvm-ad40c0a4252a549388c299fa80d15dc67f13242e.tar.gz bcm5719-llvm-ad40c0a4252a549388c299fa80d15dc67f13242e.zip |
revert my previous patches that introduced an additional parameter to the objectsize intrinsic.
After a lot of discussion, we realized it's not the best option for run-time bounds checking
llvm-svn: 157255
Diffstat (limited to 'llvm/test/CodeGen/ARM/divmod.ll')
-rw-r--r-- | llvm/test/CodeGen/ARM/divmod.ll | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/test/CodeGen/ARM/divmod.ll b/llvm/test/CodeGen/ARM/divmod.ll index d5b2d05b403..49c41037578 100644 --- a/llvm/test/CodeGen/ARM/divmod.ll +++ b/llvm/test/CodeGen/ARM/divmod.ll @@ -43,7 +43,7 @@ bb: %3 = load i32* @tabsize, align 4 %4 = srem i32 %cols, %3 %5 = sdiv i32 %cols, %3 - %6 = tail call i32 @llvm.objectsize.i32(i8* null, i1 false, i32 0) + %6 = tail call i32 @llvm.objectsize.i32(i8* null, i1 false) %7 = tail call i8* @__memset_chk(i8* null, i32 9, i32 %5, i32 %6) nounwind br label %bb1 @@ -54,5 +54,5 @@ bb1: ret void } -declare i32 @llvm.objectsize.i32(i8*, i1, i32) nounwind readnone +declare i32 @llvm.objectsize.i32(i8*, i1) nounwind readnone declare i8* @__memset_chk(i8*, i32, i32, i32) nounwind |