Instead of dynamically allocating the vector for PhysRegs, we can
allocate it on the stack and move it into InstructionMemo.
Details
Details
Diff Detail
Diff Detail
Differential D47461
[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
Diff Detail Event Timelinefhahn added a child revision: D47463: [TableGen] Avoid leaking TreePatternNodes by using shared_ptr..May 29 2018, 2:41 AM This revision is now accepted and ready to land.May 29 2018, 8:06 AM Closed by commit rL333438: [TableGen] Fix leaking of PhysRegInputs. (authored by fhahn). · Explain WhyMay 29 2018, 10:44 AM This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 148862 utils/TableGen/FastISelEmitter.cpp
|