Skip to content
  1. Jul 04, 2012
    • Jakob Stoklund Olesen's avatar
      Add an experimental early if-conversion pass, off by default. · f8a63a15
      Jakob Stoklund Olesen authored
      This pass performs if-conversion on SSA form machine code by
      speculatively executing both sides of the branch and using a cmov
      instruction to select the result. This can help lower the number of
      branch mispredictions on architectures like x86 that don't have
      predicable instructions.
      
      The current implementation is very aggressive, and causes regressions on
      mosts tests. It needs good heuristics that have yet to be implemented.
      
      llvm-svn: 159694
      f8a63a15
Loading