Skip to content
  • Matthias Braun's avatar
    TargetLowering: Add finalizeLowering() function; NFC · 744c215e
    Matthias Braun authored
    Adds a new method finalizeLowering to TargetLoweringBase. This is in
    preparation for an upcoming commit.
    
    This function is meant for target specific adjustments to
    MachineFrameInfo or register reservations.
    
    Move the freezeRegisters() and the hasCopyImplyingStackAdjustment()
    handling into the new function to prove the concept. As an added bonus
    GlobalISel no longer missed the hasCopyImplyingStackAdjustment()
    handling with this.
    
    Differential Revision: https://reviews.llvm.org/D32621
    
    llvm-svn: 301679
    744c215e
Loading