This lets the pass focus on gathering the required analyzes, and the utility class focus on the transformation.
The "run" method is a little awkward; suggestions welcome!
Paths
| Differential D31303
[CodeGen] Split SafeStack into a LegacyPass and a utility. NFC. ClosedPublic Authored by ab on Mar 23 2017, 1:17 PM.
Details Summary This lets the pass focus on gathering the required analyzes, and the utility class focus on the transformation. The "run" method is a little awkward; suggestions welcome!
Diff Detail
Event Timelineab added a child revision: D31302: [CodeGen] Compute DT/LI lazily in SafeStackLegacyPass. NFC..Mar 23 2017, 1:17 PM This revision is now accepted and ready to land.Apr 13 2017, 10:42 AM Closed by commit rL302609: [CodeGen] Split SafeStack into a LegacyPass and a utility. NFC. (authored by ab). · Explain WhyMay 9 2017, 5:52 PM This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 98380 llvm/trunk/include/llvm/InitializePasses.h
llvm/trunk/lib/CodeGen/CodeGen.cpp
llvm/trunk/lib/CodeGen/SafeStack.cpp
llvm/trunk/tools/opt/opt.cpp
|