Skip to content
  • Chandler Carruth's avatar
    [PM] Separate the TargetLibraryInfo object from the immutable pass. · b98f63db
    Chandler Carruth authored
    The pass is really just a means of accessing a cached instance of the
    TargetLibraryInfo object, and this way we can re-use that object for the
    new pass manager as its result.
    
    Lots of delta, but nothing interesting happening here. This is the
    common pattern that is developing to allow analyses to live in both the
    old and new pass manager -- a wrapper pass in the old pass manager
    emulates the separation intrinsic to the new pass manager between the
    result and pass for analyses.
    
    llvm-svn: 226157
    b98f63db
Loading