Is there a specific reason why std::vector is used for MachineBasicBlock Pred/Succ and MachineInstr operands? It seems these would be the ideal case for using SmallVector. Thanks, Micah -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20130716/2ff96c00/attachment.html>
Jakob Stoklund Olesen
2013-Jul-16 18:45 UTC
[LLVMdev] std::vector usage in Machine* data types
On Jul 16, 2013, at 11:34 AM, Micah Villmow <micah.villmow at smachines.com> wrote:> Is there a specific reason why std::vector is used for MachineBasicBlock Pred/Succ and MachineInstr operands? > > It seems these would be the ideal case for using SmallVector.I agree. Patches welcome. Thanks, /jakob