• Andreas Fried's avatar
    Move dead store elimination to a separate irg walk. · ee99f31f
    Andreas Fried authored
    optimize_load can introduce dead stores, which are not removed, because
    they have already been visited (the irg is walked from Start to End).
    
    This commit adds a second irg walk for dead store elimination after the
    other optimizations have run, and removes dead store elimination from the
    first walk.
    ee99f31f