[PATCH] D29500: [DWARF][PATCH] Keep track of spilled variables in LiveDebugValues

Adrian Prantl via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Feb 3 13:55:52 PST 2017

aprantl added inline comments.

Comment at: lib/CodeGen/LiveDebugValues.cpp:176
   typedef SmallDenseMap<const MachineBasicBlock *, VarLocSet> VarLocInMBB;
+  typedef std::pair<MachineInstr *, MachineInstr *> MIPair;
+  typedef SmallVector<MIPair, 4> SpillMap;
Does the code get more readable by making this a struct with named fields instead?


More information about the llvm-commits mailing list