[PATCH] D16074: Make sure that any new and optimized objects created during GlobalOPT copy all the attributes from the base object.

Tobias Edler von Koch via llvm-commits llvm-commits at lists.llvm.org
Tue Jan 12 11:39:12 PST 2016


tobiasvk added a comment.

The most common uses cases for explicit sections I'm aware of here are situations where the user wants to place part of the code into special memory (e.g. tightly-coupled memory). You're free to optimize //within// that special section - in fact, that's even desired because the code tends to be very performance-critical (but space-constrained) - but introducing additional control or data edges to other sections is a no-go (which is what we're currently doing in GlobalOpt). The proposed patch would solve the problem nicely.


http://reviews.llvm.org/D16074





More information about the llvm-commits mailing list