<div style="line-height:1.7;color:#000000;font-size:14px;font-family:arial">Hi all,<div><br></div><div>I have attached a patch file to fix up the CodeGen assert fail, which is also reported in a recent bug  <a href="http://llvm.org/bugs/show_bug.cgi?id=16944" style="font-size: 14px; line-height: 1.7;">http://llvm.org/bugs/show_bug.cgi?id=16944</a></div><div><br></div><div>The assert fail is caused by those LoopInfo updates added in r181987.  </div><div>Note that the LoopInfo of MergeBlock has been updated in the function "SplitBlock", so it should not be updated again in CodeGen.</div><div><br></div><div>@Tobias or @Sebastian, could you do me a favor to commit the patch file?</div><div><br></div><div>Thanks,</div><div>Star Tan</div></div>