This is an archive of the discontinued LLVM Phabricator instance.

MIR Serialization: Create dummy functions for the parsed machine functions when MIR file doesn't contain LLVM IR.
ClosedPublic

Authored by arphaman on May 29 2015, 11:33 AM.

Details

Summary

This patch is based on the patch that connects MIRParser to the machine function analysis pass (http://reviews.llvm.org/D9928).

This patch creates dummy LLVM functions with one basic block and a return instruction for the parsed machine functions when the MIR file doesn't include LLVM IR.
This is needed as the machine function analysis pass creates machine functions only for the functions defined in the current LLVM module.

Diff Detail

Repository
rL LLVM

Event Timeline

arphaman updated this revision to Diff 26803.May 29 2015, 11:33 AM
arphaman retitled this revision from to MIR Serialization: Create dummy functions for the parsed machine functions when MIR file doesn't contain LLVM IR..
arphaman updated this object.
arphaman edited the test plan for this revision. (Show Details)
arphaman added reviewers: dexonsmith, bogner, bob.wilson.
arphaman set the repository for this revision to rL LLVM.
arphaman added a subscriber: Unknown Object (MLST).
This revision was automatically updated to reflect the committed changes.