This is an archive of the discontinued LLVM Phabricator instance.

[mips] Rework a portion of MipsCC interface. (NFC)
ClosedPublic

Authored by sdardis on Apr 13 2017, 3:43 AM.

Details

Summary

r299766 contained a "conditional move or jump depends on uninitialized value"
fault, identified by valgrind. This occurred as MipsFastISel::finishCall(..)
used CCState over MipsCCState. The latter is required for the TableGen'd calling
convention logic due to reliance on pre-analyzing type information to lower call
results/returns of vectors correctly.

This change modifies the MipsCC AnalyzeCallResult to be useful with both the
SelectionDAG and FastISel lowering logic.

Event Timeline

sdardis created this revision.Apr 13 2017, 3:43 AM
This revision is now accepted and ready to land.Apr 25 2017, 5:31 AM
This revision was automatically updated to reflect the committed changes.