[PATCH] D14933: Add the allocsize attribute to LLVM
George Burgess IV via llvm-commits
llvm-commits at lists.llvm.org
Mon Apr 11 11:20:13 PDT 2016
george.burgess.iv updated this revision to Diff 53285.
george.burgess.iv added a comment.
Rebased and split.
I split this patch in hopes of making it a bit easier to review. This review now just adds the `allocsize` attribute. With this patch applied alone, allocsize can sit on functions and look pretty, but is useless; the review for the split out bits (coming in ~5 minutes ;) ) makes `llvm.objectsize` actually use the `allocsize` attribute.
I intend to commit both patches together.
http://reviews.llvm.org/D14933
Files:
docs/LangRef.rst
include/llvm/Bitcode/LLVMBitCodes.h
include/llvm/IR/Attributes.h
include/llvm/IR/Attributes.td
lib/AsmParser/LLLexer.cpp
lib/AsmParser/LLParser.cpp
lib/AsmParser/LLParser.h
lib/AsmParser/LLToken.h
lib/Bitcode/Reader/BitcodeReader.cpp
lib/Bitcode/Writer/BitcodeWriter.cpp
lib/IR/AttributeImpl.h
lib/IR/Attributes.cpp
lib/IR/Verifier.cpp
lib/Transforms/InstCombine/InstCombineCalls.cpp
test/Bitcode/attributes.ll
test/Verifier/alloc-size-failedparse.ll
test/Verifier/allocsize.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D14933.53285.patch
Type: text/x-patch
Size: 27179 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20160411/9b758d4a/attachment-0001.bin>
More information about the llvm-commits
mailing list