From 23e75da7e0622528be3c3908b5fe3ae8857cdf65 Mon Sep 17 00:00:00 2001 From: Nuno Lopes Date: Tue, 22 May 2012 15:25:31 +0000 Subject: 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 --- test/CodeGen/X86/crash.ll | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'test/CodeGen/X86/crash.ll') diff --git a/test/CodeGen/X86/crash.ll b/test/CodeGen/X86/crash.ll index 35f6ec50bc..cf6e27d159 100644 --- a/test/CodeGen/X86/crash.ll +++ b/test/CodeGen/X86/crash.ll @@ -203,7 +203,7 @@ entry: ; define fastcc void @func_61() nounwind sspreq { entry: - %t1 = tail call i64 @llvm.objectsize.i64(i8* undef, i1 false, i32 0) + %t1 = tail call i64 @llvm.objectsize.i64(i8* undef, i1 false) %t2 = icmp eq i64 %t1, -1 br i1 %t2, label %bb2, label %bb1 @@ -214,7 +214,7 @@ bb2: ret void } -declare i64 @llvm.objectsize.i64(i8*, i1, i32) nounwind readnone +declare i64 @llvm.objectsize.i64(i8*, i1) nounwind readnone ; PR10277 ; This test has dead code elimination caused by remat during spilling. -- cgit v1.2.3