haicheng abandoned this revision. haicheng added a comment. Now LICM can update AST if the sub-loops are changed by loop unroll. It might be better to do the same for LIR instead of re-computing the AST. Repository: rL LLVM http://reviews.llvm.org/D17370