This is an archive of the discontinued LLVM Phabricator instance.

CMake option to allow enabling experimental new pass manager by default
ClosedPublic

Authored by phosek on Mar 9 2018, 2:44 PM.

Diff Detail

Repository
rC Clang

Event Timeline

phosek created this revision.Mar 9 2018, 2:44 PM
chandlerc requested changes to this revision.Mar 26 2018, 1:05 PM

Just a question really.

clang/CMakeLists.txt
215 ↗(On Diff #137844)

Does it make sense to put the word DEFAULT into the variable name? I don't feel strongly either way.

This revision now requires changes to proceed.Mar 26 2018, 1:05 PM
phosek added inline comments.Mar 27 2018, 12:19 PM
clang/CMakeLists.txt
215 ↗(On Diff #137844)

I was following the ENABLE_X86_RELAX_RELOCATIONS above which is a similar flag in terms of its effect on the driver. Would you prefer ENABLE_EXPERIMENTAL_NEW_PASS_MANAGER_BY_DEFAULT? It's more descriptive but also rather long.

phosek marked an inline comment as done.Apr 4 2018, 3:57 PM

Ping?

chandlerc accepted this revision.Apr 5 2018, 1:22 PM

Meh, I think this is fine as-is.

This revision is now accepted and ready to land.Apr 5 2018, 1:22 PM
This revision was automatically updated to reflect the committed changes.