davidxl accepted this revision. davidxl added a comment. This revision is now accepted and ready to land. lgtm with the test fix suggested by sean: loop(simplify-cfg,licm) http://reviews.llvm.org/D21772