change the objectsize intrinsic signature: add a 3rd parameter to denote the maximum...
authorNuno Lopes <nunoplopes@sapo.pt>
Wed, 9 May 2012 15:52:43 +0000 (15:52 +0000)
committerNuno Lopes <nunoplopes@sapo.pt>
Wed, 9 May 2012 15:52:43 +0000 (15:52 +0000)
commit30759542aa820b9fc74c77bfa3c011cb0a106ef9
tree9698461a0cd7c16beea9446415a512f3e3bcde0e
parent80fa4723b9b7cb9d78d71648095e4e2804681402
change the objectsize intrinsic signature: add a 3rd parameter to denote the maximum runtime performance penalty that the user is willing to accept.
This commit only adds the parameter. Code taking advantage of it will follow.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@156473 91177308-0d34-0410-b5e6-96231b3b80d8
13 files changed:
docs/LangRef.html
include/llvm/Intrinsics.td
lib/VMCore/AutoUpgrade.cpp
test/CodeGen/ARM/divmod.ll
test/CodeGen/Generic/crash.ll
test/CodeGen/Generic/objectsize-upgrade.ll [new file with mode: 0644]
test/CodeGen/X86/2011-05-26-UnreachableBlockElim.ll
test/CodeGen/X86/crash.ll
test/CodeGen/X86/object-size.ll
test/CodeGen/X86/unreachable-stack-protector.ll
test/Transforms/InstCombine/debuginfo.ll
test/Transforms/InstCombine/objsize.ll
test/Transforms/SimplifyLibCalls/StrCpy.ll