[PATCH] D10909: PrologEpilogInserter: Improve API to determine callee save regsiters.

Andrew Trick atrick at apple.com
Tue Jul 14 22:59:11 PDT 2015


atrick added a comment.

Very nice cleanup + optimization.

Just to satisfy my own curiosity, what if the current function has a UWTable attribute, but the call site is noreturn+nounwind? I suppose we still need to spill the clobbered callee saves for debugging (as you have done)?

Only one correctness question, why don't you check for implicit defs here?

+ for (const MachineOperand &MO : make_range(def_begin(*AI), def_end()))


Repository:
  rL LLVM

http://reviews.llvm.org/D10909







More information about the llvm-commits mailing list