[PATCH] D72916: [IPO] Don't run jump threading at Oz

Dave Green via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Jan 17 06:49:39 PST 2020


dmgreen added a comment.

I feel that this should be an decision made inside the pass, not necessarily in the pass manager. We may have a single module with both functions that are and are not optsize. The inliner/unroller would change thresholds based on this, for example.

Also do you have some size numbers? (Jump threading can sometimes simplify code more than you would expect, although I think in theory this should be a sensible change.)


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D72916





More information about the llvm-commits mailing list