[PATCH] D107574: [GlobalOpt] [MemoryBuiltins] Update getMallocType with bitcast on stored pointer

Eli Friedman via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Aug 5 10:46:18 PDT 2021


efriedma added a comment.

If you going to mess with this code, can you just kill off all the malloc use type heuristics, and just unconditionally create an [i8 x n] array?  The existing type sniffing code won't work with opaque pointers anyway.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D107574



More information about the llvm-commits mailing list