HomePhabricator

[Attributor] AANoRecurse check all call sites for `norecurse`

Authored by jdoerfert on Dec 30 2019, 2:15 PM.

Description

[Attributor] AANoRecurse check all call sites for norecurse

If all call sites are in norecurse functions we can derive norecurse
as the ReversePostOrderFunctionAttrsPass does. This should make
ReversePostOrderFunctionAttrsLegacyPass obsolete once the Attributor is
enabled.

Reviewed By: uenoku

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