Change the way in which error case is being handled.
authorDaniel Jasper <djasper@google.com>
Fri, 6 Mar 2015 10:39:14 +0000 (10:39 +0000)
committerDaniel Jasper <djasper@google.com>
Fri, 6 Mar 2015 10:39:14 +0000 (10:39 +0000)
commit90e6a21e85130976deab9dc2cc47d6a7dff42153
treee704f3e1da75271f1bb9497d051038d94e36b790
parent52610d84adc800a66eac48eb5fae487557f04751
Change the way in which error case is being handled.

Specifically this:
* Prevents an "unused" warning in non-assert builds.
* In that error case return with out removing a child loop instead of
  looping forever.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@231459 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Transforms/Scalar/LoopInterchange.cpp