Skip to content
  • Chandler Carruth's avatar
    [PM] Add a module analysis pass proxy for the function analysis manager. · 851a2aa0
    Chandler Carruth authored
    This proxy will fill the role of proxying invalidation events down IR
    unit layers so that when a module changes we correctly invalidate
    function analyses. Currently this is a very coarse solution -- any
    change blows away the entire thing -- but the next step is to make
    invalidation handling more nuanced so that we can propagate specific
    amounts of invalidation from one layer to the next.
    
    The test is extended to place a module pass between two function pass
    managers each of which have preserved function analyses which get
    correctly invalidated by the module pass that might have changed what
    functions are even in the module.
    
    llvm-svn: 195304
    851a2aa0
Loading