Skip to content
  • Chandler Carruth's avatar
    Sink the collection of return instructions until after *all* · 49da9339
    Chandler Carruth authored
    simplification has been performed. This is a bit less efficient
    (requires another ilist walk of the basic blocks) but shouldn't matter
    in practice. More importantly, it's just too much work to keep track of
    all the various ways the return instructions can be mutated while
    simplifying them. This fixes yet another crasher, reported by Daniel
    Dunbar.
    
    llvm-svn: 154179
    49da9339
Loading