Skip to content
  • Dan Gohman's avatar
    When pruning candidate formulae out of an LSRUse, update the · d0800241
    Dan Gohman authored
    LSRUse's Regs set after all pruning is done, rather than trying
    to do it on the fly, which can produce an incomplete result.
    
    This fixes a case where heuristic pruning was stripping all
    formulae from a use, which led the solver to enter an infinite
    loop.
    
    Also, add a few asserts to diagnose this kind of situation.
    
    llvm-svn: 103328
    d0800241
Loading