[PATCH] D23691: [PM] Introduce an abstraction for all the analyses over a particular IR unit for use in the PreservedAnalyses set.
Chandler Carruth via llvm-commits
llvm-commits at lists.llvm.org
Thu Aug 18 12:58:55 PDT 2016
chandlerc created this revision.
chandlerc added a subscriber: llvm-commits.
Herald added subscribers: mcrosier, mehdi_amini.
This doesn't have any important functional change yet but it cleans
things up and makes the analysis substantially more efficient by
avoiding querying through the type erasure for every analysis.
I also think it makes it much easier to reason about how analyses are
preserved when walking across pass managers and across IR unit
abstractions.
Suggestions on a better name for this set would be very, very welcome.
I don't particularly like this name but had no significant better ideas.
https://reviews.llvm.org/D23691
Files:
include/llvm/IR/PassManager.h
lib/IR/PassManager.cpp
test/Other/new-pass-manager.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D23691.68595.patch
Type: text/x-patch
Size: 5989 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20160818/10e3737b/attachment-0001.bin>
More information about the llvm-commits
mailing list