[PATCH] D57271: [DebugInfo] Handle restore instructions in LiveDebugValues
Adrian Prantl via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Mon Jan 28 20:47:47 PST 2019
aprantl added inline comments.
================
Comment at: include/llvm/CodeGen/MachineInstr.h:1403
+ /// Return a valid size if the instruction is a spill instruction.
+ Optional<unsigned> isSpillInstruction(const TargetInstrInfo *TII) const;
+
----------------
Might be better to call this getSpillInstructionSize if it isn't returning a bool. Naming multi-purpose functions i always awkward :-)
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D57271/new/
https://reviews.llvm.org/D57271
More information about the llvm-commits
mailing list