There are two things that potentially worry me about this port:
- Is this still the way we want to handle non-default constructors?
- I've converted the iplist into a std::list<unique_ptr>, because iplist is not moveable. Does this seem reasonable?
Paths
| Differential D22703
[PM] Port SymbolRewriter to the new PM ClosedPublic Authored by mkuper on Jul 22 2016, 2:41 PM.
Details Summary There are two things that potentially worry me about this port:
Diff Detail Event Timelinemkuper updated this object.
Comment Actions Thanks, Duncan! Committed the iplist change separately, so the only thing that I'm concerned about now is the handling of --rewrite-map-file. This revision is now accepted and ready to land.Jul 25 2016, 1:29 PM Comment Actions If we want to change the handling of -rewrite-file , fine, but that can (and should) be done separately. Closed by commit rL276687: [PM] Port SymbolRewriter to the new PM (authored by mkuper). · Explain WhyJul 25 2016, 1:59 PM This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 65161 include/llvm/InitializePasses.h
include/llvm/Transforms/Utils/SymbolRewriter.h
lib/Passes/PassBuilder.cpp
lib/Passes/PassRegistry.def
lib/Transforms/Utils/SymbolRewriter.cpp
test/SymbolRewriter/rewrite.ll
tools/opt/opt.cpp
|
We don't actually need this include, please ignore.