[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 08:17:37 PST 2022


nikic added inline comments.


================
Comment at: llvm/lib/Transforms/IPO/GlobalOpt.cpp:1112
 
-  // If we have a global that is only initialized with a fixed size malloc,
-  // transform the program to use global memory instead of malloc'd memory.
----------------
reames wrote:
> Please add back the first part of this comment.  
Probably got lost in the diff, but this comment has been moved to the top of the function, as an overall description of the transform.


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

https://reviews.llvm.org/D117092



More information about the llvm-commits mailing list