HomePhabricator

Expose `attributor-disable` to the new and old pass managers

Authored by tarinduj on Apr 5 2020, 9:45 AM.

Description

Expose attributor-disable to the new and old pass managers

The new and old pass managers (PassManagerBuilder.cpp and
PassBuilder.cpp) are exposed to an extern declaration of
attributor-disable option which will guard the addition of the
attributor passes to the pass pipelines.

Reviewed By: jdoerfert

Differential Revision: https://reviews.llvm.org/D76871