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 | 23e75da7e0622528be3c3908b5fe3ae8857cdf65 (patch) | |
tree | 953e680c141920c0bb5b29a2edfcbcf084614ddd /test/CodeGen/X86/2011-05-26-UnreachableBlockElim.ll | |
parent | 76ff7418361c1c80ce9d018bce63511a70bd7390 (diff) | |
download | llvm-23e75da7e0622528be3c3908b5fe3ae8857cdf65.tar.gz llvm-23e75da7e0622528be3c3908b5fe3ae8857cdf65.tar.bz2 llvm-23e75da7e0622528be3c3908b5fe3ae8857cdf65.tar.xz |
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
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@157255 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/CodeGen/X86/2011-05-26-UnreachableBlockElim.ll')
-rw-r--r-- | test/CodeGen/X86/2011-05-26-UnreachableBlockElim.ll | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/test/CodeGen/X86/2011-05-26-UnreachableBlockElim.ll b/test/CodeGen/X86/2011-05-26-UnreachableBlockElim.ll index 7cd7be8838..0f18f0969b 100644 --- a/test/CodeGen/X86/2011-05-26-UnreachableBlockElim.ll +++ b/test/CodeGen/X86/2011-05-26-UnreachableBlockElim.ll @@ -8,7 +8,7 @@ target triple = "x86_64-apple-macosx10.6.0" @aux_temp = external global %struct.dfa, align 8 -declare i64 @llvm.objectsize.i64(i8*, i1, i32) nounwind readnone +declare i64 @llvm.objectsize.i64(i8*, i1) nounwind readnone declare void @__memset_chk() nounwind @@ -21,12 +21,12 @@ if.end.i: ; preds = %entry br i1 undef, label %land.end.thread.i, label %land.end.i land.end.thread.i: ; preds = %if.end.i - %0 = call i64 @llvm.objectsize.i64(i8* undef, i1 false, i32 0) nounwind + %0 = call i64 @llvm.objectsize.i64(i8* undef, i1 false) nounwind %cmp1710.i = icmp eq i64 %0, -1 br i1 %cmp1710.i, label %cond.false156.i, label %cond.true138.i land.end.i: ; preds = %if.end.i - %1 = call i64 @llvm.objectsize.i64(i8* undef, i1 false, i32 0) nounwind + %1 = call i64 @llvm.objectsize.i64(i8* undef, i1 false) nounwind %cmp17.i = icmp eq i64 %1, -1 br i1 %cmp17.i, label %cond.false156.i, label %cond.true138.i |