[PATCH] D39992: [CodeGenPrepare] Disable div bypass when working set size is huge.

Eli Friedman via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Nov 13 17:44:53 PST 2017


efriedma added a comment.

It seems like OptSize and hasHugeWorkingSetSize overlap a lot (a lot of large C++ codebases use -Os to help fit into the icache).  Would it make sense to automatically add OptSize markings based on profile data, or something like that, rather than adding hasHugeWorkingSetSize() checks all over the compiler?


https://reviews.llvm.org/D39992





More information about the llvm-commits mailing list