[PATCH] D18541: [CodeGen] Consider register modified if it's used to pass landing pad parameters.
Matthias Braun via llvm-commits
llvm-commits at lists.llvm.org
Mon May 2 12:32:47 PDT 2016
MatzeB requested changes to this revision.
MatzeB added a comment.
This revision now requires changes to proceed.
I think you should rather change the TargetFrameLowering::determineCalleeSaves() callback of the target to mark the registers as callee saved.
If this really makes sense for all targets then it could also be done in the PrologEpilogueInsertion code before/after determineCalleeSaves(), but I am not convinced yet this applies universally (though I'm no expert in exception handling code).
Repository:
rL LLVM
http://reviews.llvm.org/D18541
More information about the llvm-commits
mailing list