[PATCH] D33799: [ThinLTO] Move -lto-use-new-pm to llvm-lto2, and change it to -use-new-pm.
Peter Collingbourne via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Thu Jun 1 14:59:19 PDT 2017
pcc added a comment.
I suggested before that this could be a `cl::opt` because we were previously not exposing the new PM switch to users. On the assumption that exposing it to users is a good idea (and given that clang has apparently been doing so for the last few months), it seems reasonable enough to add it to config.
================
Comment at: llvm/include/llvm/LTO/Config.h:50
+ /// Use the new pass manager
+ bool UseNewPM = false;
+
----------------
Add to `computeCacheKey`.
https://reviews.llvm.org/D33799
More information about the llvm-commits
mailing list