Skip to content
  • Rafael Espindola's avatar
    This commit introduces two fake instructions MORESTACK_RET and · 66393c12
    Rafael Espindola authored
    MORESTACK_RET_RESTORE_R10; which are lowered to a RET and a RET
    followed by a MOV respectively.  Having a fake instruction prevents
    the verifier from seeing a MachineBasicBlock end with a
    non-terminator (MOV).  It also prevents the rather eccentric case of a
    MachineBasicBlock ending with RET but having successors nevertheless.
    
    Patch by Sanjoy Das.
    
    llvm-svn: 143062
    66393c12
Loading