This is an archive of the discontinued LLVM Phabricator instance.

MIR Serialization: Report an error when machine functions have the same name.
ClosedPublic

Authored by arphaman on May 29 2015, 10:42 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 reports an error when the mir parser encounters a machine function with the name that is the same as the name of a different machine function.

Diff Detail

Repository
rL LLVM

Event Timeline

arphaman updated this revision to Diff 26795.May 29 2015, 10:42 AM
arphaman retitled this revision from to MIR Serialization: Report an error when machine functions have the same name..
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).
arphaman updated this revision to Diff 26796.May 29 2015, 10:48 AM

I just saw that I can remove the check for the empty function's name - it should go into another patch.

The updated patch doesn't check if the function's name is empty.

This revision was automatically updated to reflect the committed changes.