[PATCH] D13034: Do not mark CSRs as pristine in functions that have been shrink wrapped

Matthias Braun via llvm-commits llvm-commits at lists.llvm.org
Mon Sep 21 15:25:28 PDT 2015


MatzeB added a comment.

Can you give some more context why this fails? I recently changed the PristineRegister definition to be independent of the place in the function so it wouldn't matter whether you are in the prologue or epilogue of the function. For the prologue/epilogue those saved CSRs should be marked as live-in values and therefore should be considered live by the RegisterScavenger/LivePhysRegs. Do you have an instance where this is not the case?


http://reviews.llvm.org/D13034





More information about the llvm-commits mailing list