summaryrefslogtreecommitdiff
path: root/test/CodeGen/Generic/crash.ll
diff options
context:
space:
mode:
authorNuno Lopes <nunoplopes@sapo.pt>2012-05-22 15:25:31 +0000
committerNuno Lopes <nunoplopes@sapo.pt>2012-05-22 15:25:31 +0000
commit23e75da7e0622528be3c3908b5fe3ae8857cdf65 (patch)
tree953e680c141920c0bb5b29a2edfcbcf084614ddd /test/CodeGen/Generic/crash.ll
parent76ff7418361c1c80ce9d018bce63511a70bd7390 (diff)
downloadllvm-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/Generic/crash.ll')
-rw-r--r--test/CodeGen/Generic/crash.ll4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/CodeGen/Generic/crash.ll b/test/CodeGen/Generic/crash.ll
index 805d0ccd86..d889389b7c 100644
--- a/test/CodeGen/Generic/crash.ll
+++ b/test/CodeGen/Generic/crash.ll
@@ -23,7 +23,7 @@ bb32: ; preds = %bb6
%3 = load double* %1, align 4
%4 = load double* %0, align 4
call void @Parse_Vector(double* %0) nounwind
-%5 = call i32 @llvm.objectsize.i32(i8* undef, i1 false, i32 0)
+%5 = call i32 @llvm.objectsize.i32(i8* undef, i1 false)
%6 = icmp eq i32 %5, -1
br i1 %6, label %bb34, label %bb33
@@ -36,7 +36,7 @@ unreachable
}
declare void @Parse_Vector(double*)
-declare i32 @llvm.objectsize.i32(i8*, i1, i32)
+declare i32 @llvm.objectsize.i32(i8*, i1)
; PR9578