[PATCH] D117092: [GlobalOpt] Use generic type when converting malloc to global

Nikita Popov via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Jan 14 01:40:17 PST 2022


nikic updated this revision to Diff 399930.
nikic added a comment.

Use getObjectSize().


CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D117092/new/

https://reviews.llvm.org/D117092

Files:
  llvm/lib/Transforms/IPO/GlobalOpt.cpp
  llvm/test/Transforms/GlobalOpt/2021-08-03-StoreOnceLoadMultiCasts.ll
  llvm/test/Transforms/GlobalOpt/malloc-promote-5.ll
  llvm/test/Transforms/GlobalOpt/malloc-promote-opaque-ptr.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D117092.399930.patch
Type: text/x-patch
Size: 13457 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20220114/f2a2bb3f/attachment.bin>


More information about the llvm-commits mailing list