HomePhabricator

[NewPM] Port MachineModuleInfo to the new pass manager.

Description

[NewPM] Port MachineModuleInfo to the new pass manager.

Existing clients are converted to use MachineModuleInfoWrapperPass. The
new interface is for defining a new pass manager API in CodeGen.

Reviewers: fedor.sergeev, philip.pfaffe, chandlerc, arsenm

Reviewed By: arsenm, fedor.sergeev

Differential Revision: https://reviews.llvm.org/D64183

Details

Committed
yuanfangSep 30 2019, 10:54 AM
Reviewer
arsenm
Differential Revision
D64183: [NewPM] Port MachineModuleInfo to the new pass manager.
Parents
rL373239: [msan] Intercept __getrlimit.
Branches
Unknown
Tags
Unknown

Event Timeline

rupprecht added inline comments.
/llvm/trunk/include/llvm/CodeGen/MachineModuleInfo.h
268

Is this method actually defined anywhere? I tried migrating an out of tree use of MachineModuleInfo to wrap this but I got a link error, and I don't think this is defined.

At any rate, I think I can just use the constructor above instead.