[PATCH] A new HeapToStack allocation promotion pass

Bill Wendling isanbard at gmail.com
Tue Sep 24 11:05:25 PDT 2013


  I haven't reviewed the patch itself just yet. But what you're doing here seems very similar to how the ARC Optimizer works (in lib/Transformations/ObjCARC). It may be beneficial to look at how it does things. In particular, it removes "retains" and "releases" from the code. There is a lot of analysis that needs to go into this, of course.

  Anyway, just a suggestion.

http://llvm-reviews.chandlerc.com/D1745



More information about the llvm-commits mailing list