HomePhabricator

[Attributor] Allow explicit dependence tracking

Description

[Attributor] Allow explicit dependence tracking

By default, the Attributor tracks potential dependences between abstract
attributes based on the issued Attributor::getAAFor queries. This
simplifies the development of new abstract attributes but it can also
lead to spurious dependences that might increase compile time and make
internalization harder (D63312). With this patch, abstract attributes
can opt-out of implicit dependence tracking and instead register
dependences explicitly. It is up to the implementation to make sure all
existing dependences are registered.

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

Details

Committed
jdoerfertAug 26 2019, 10:48 AM
Differential Revision
D63314: [Attributor] Allow explicit dependence tracking
Parents
rL369934: [clangd] Release notes
Branches
Unknown
Tags
Unknown