revert my previous patches that introduced an additional parameter to the objectsize...
authorNuno Lopes <nunoplopes@sapo.pt>
Tue, 22 May 2012 15:25:31 +0000 (15:25 +0000)
committerNuno Lopes <nunoplopes@sapo.pt>
Tue, 22 May 2012 15:25:31 +0000 (15:25 +0000)
commitad40c0a4252a549388c299fa80d15dc67f13242e
tree7f844ef2326d4cbbebe01dc6f7262d9db3ee015a
parent924279ca0e2f9990e8cd6bc240f8ca5359540868
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
15 files changed:
llvm/docs/LangRef.html
llvm/include/llvm/Intrinsics.td
llvm/lib/Transforms/InstCombine/InstCombineCalls.cpp
llvm/lib/VMCore/AutoUpgrade.cpp
llvm/test/CodeGen/ARM/divmod.ll
llvm/test/CodeGen/Generic/crash.ll
llvm/test/CodeGen/Generic/objectsize-upgrade.ll [deleted file]
llvm/test/CodeGen/X86/2011-05-26-UnreachableBlockElim.ll
llvm/test/CodeGen/X86/crash.ll
llvm/test/CodeGen/X86/object-size.ll
llvm/test/CodeGen/X86/unreachable-stack-protector.ll
llvm/test/Transforms/InstCombine/debuginfo.ll
llvm/test/Transforms/InstCombine/objsize.ll
llvm/test/Transforms/SimplifyLibCalls/StpCpy.ll
llvm/test/Transforms/SimplifyLibCalls/StrCpy.ll