[PATCH] D18974: Make the allocsize attribute useful in LLVM

George Burgess IV via llvm-commits llvm-commits at lists.llvm.org
Mon Apr 11 11:23:55 PDT 2016


george.burgess.iv created this revision.
george.burgess.iv added reviewers: chandlerc, echristo.
george.burgess.iv added subscribers: llvm-commits, ab, sanjoy, joker.eph, nlopes.

This is the part of the allocsize patch that makes `llvm.objectsize` recognize the `allocsize` attribute introduced by D14993.

This is intended to be committed with D14993, but is split out to hopefully make this easier to review.

(Also, this diff is made assuming D14993 has already landed, so if you want to use this locally, you'll need to apply it on top of the diff in D14993)

http://reviews.llvm.org/D18974

Files:
  lib/Analysis/MemoryBuiltins.cpp
  test/Transforms/InstCombine/allocsize-32.ll
  test/Transforms/InstCombine/allocsize.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D18974.53287.patch
Type: text/x-patch
Size: 17887 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20160411/0b041322/attachment.bin>


More information about the llvm-commits mailing list