[PATCH] D17555: [Feedback requested] Implement cold spliting
escha via llvm-commits
llvm-commits at lists.llvm.org
Tue Feb 23 21:50:24 PST 2016
escha added a subscriber: escha.
escha added a comment.
This is a very clever idea. Getting code out of the way (WAY out of the way) can save not just icache, but iTLB too. I've seen large gains in JITs with this sort of strategy (e.g. putting extremely rarely taken code, like exception exits and things the guard intrinsic would be used for); just sticking the code in a separate, far-away allocation got significant improvements. If this can be even a fraction as effective on non-JITted code, it should be pretty nice.
More information about the llvm-commits