Skip to content
  • Frits van Bommel's avatar
    Fix a bug in the loop in JumpThreading::ProcessThreadableEdges() where it... · 9bbe849f
    Frits van Bommel authored
    Fix a bug in the loop in JumpThreading::ProcessThreadableEdges() where it could falsely produce a MultipleDestSentinel value if the first predecessor ended with an 'indirectbr'. If that happened, it caused an unnecessary FindMostPopularDest() call.
    This wasn't a correctness problem, but it broke the fast path for single-predecessor blocks.
    
    llvm-svn: 121966
    9bbe849f
Loading