commit | a78130c3207e59bfb2ec0b77ca3f48677685d9ae | [log] [tgz] |
---|---|---|
author | Chris Lattner <sabre@nondot.org> | Tue Apr 20 05:09:16 2010 +0000 |
committer | Chris Lattner <sabre@nondot.org> | Tue Apr 20 05:09:16 2010 +0000 |
tree | d3a1523f1678b87f9ac25ccb2d4ba0a1296d0c8c | |
parent | f1cfb953375b726f999976924f95fb80db3c1c97 [diff] |
RewriteLoopBodyWithConditionConstant can end up rewriting the condition we're unswitching on. In this case, don't try to simplify the second copy of the loop which may be dead or not, but is probably a constant now. This fixes PR6879 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@101870 91177308-0d34-0410-b5e6-96231b3b80d8