[PATCH] D31908: [AntiDepBreaker] Don't rename callee saved register restore instruction
Matthias Braun via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue May 2 16:25:23 PDT 2017
MatzeB added a comment.
> 1 The function MFI.getPristineRegs(MF) gets all registers actually saved in the function, not necessary at the prolog position if shrink wrapping has occurred.
This statement is wrong! getPristineRegs() gives you all ABI callee saved registers that are not save/restored anywhere in the function (because the register was never modified or clobbered, so the save/restore so there was no need for a save/restore).
https://reviews.llvm.org/D31908
More information about the llvm-commits
mailing list