This is an archive of the discontinued LLVM Phabricator instance.

[TableGen] Fix leaking of PhysRegInputs.
ClosedPublic

Authored by fhahn on May 29 2018, 2:33 AM.

Details

Summary

Instead of dynamically allocating the vector for PhysRegs, we can
allocate it on the stack and move it into InstructionMemo.

Diff Detail

Repository
rL LLVM

Event Timeline

fhahn created this revision.May 29 2018, 2:33 AM
This revision is now accepted and ready to land.May 29 2018, 8:06 AM
This revision was automatically updated to reflect the committed changes.