Skip to content
  • Dan Gohman's avatar
    Instead of adding dependence edges between terminator instructions · 5f8a2598
    Dan Gohman authored
    and every other instruction in their blocks to keep the terminator
    instructions at the end, teach the post-RA scheduler how to operate
    on ranges of instructions, and exclude terminators from the range
    of instructions that get scheduled.
    
    Also, exclude mid-block labels, such as EH_LABEL instructions, and
    schedule code before them separately from code after them. This
    fixes problems with the post-RA scheduler moving code past
    EH_LABELs.
    
    llvm-svn: 62366
    5f8a2598
Loading