Skip to content
  • Jakob Stoklund Olesen's avatar
    Deal with irreducible control flow when building traces. · bf1ac4bd
    Jakob Stoklund Olesen authored
    We filter out MachineLoop back-edges during the trace-building PO
    traversals, but it is possible to have CFG cycles that aren't natural
    loops, and MachineLoopInfo doesn't include such cycles.
    
    Use a standard visited set to detect such CFG cycles, and completely
    ignore them when picking traces.
    
    llvm-svn: 161532
    bf1ac4bd
Loading