Context: https://reviews.llvm.org/D101588
TargetFrameLowering::emitCalleeSavedFrameMoves with 4 arguments is not used anywhere in CodeGen. Thus it shouldn't be exposed as a virtual function. NFC.
Differential D103328
[CodeGen][NFC] Remove unused virtual function myhsu on May 28 2021, 9:50 AM. Authored by
Details
Context: https://reviews.llvm.org/D101588 TargetFrameLowering::emitCalleeSavedFrameMoves with 4 arguments is not used anywhere in CodeGen. Thus it shouldn't be exposed as a virtual function. NFC.
Diff Detail Event Timeline
Comment Actions Rename M68kFrameLowering::emitCalleeSavedFrameMoves with 3 args into another name to avoid confusion Comment Actions Thanks! (@tmsriram - perhaps you could rename the X86 version of this function too in a separate patch, to avoid overloading a virtual/reduce confusion here? (I think this function was added for BB sections & was initially virtual in the base FrameLowering API - but has now been sunk into the X86 backend/etc) |
Is this a change in behavior? Or is the 3 arg version just the 4 arg version with 'true' as the 4th arg?