[PATCH] D137620: [BOLT] Don't align .text to pageAlign

Maksim Panchenko via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Dec 20 13:49:09 PST 2022


maksfb added a comment.

In D137620#3977974 <https://reviews.llvm.org/D137620#3977974>, @treapster wrote:

> And if we don't get Huge Pages without -hugify, why would we keep -no-huge-pages at all?

Internally, we use huge pages all the time, and at the time it was a sensible default choice. I agree that there's no need for 2MB alignment when huge pages are not used.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D137620



More information about the llvm-commits mailing list