AnalyzeBranch modifies the bb, but we don't want to modify a bb with
commita899b223109ca5dba7b44439e955148a03f23d4c
authorRafael Espindola <rafael.espindola@gmail.com>
Thu, 9 Jun 2011 21:43:25 +0000 (9 21:43 +0000)
committerRafael Espindola <rafael.espindola@gmail.com>
Thu, 9 Jun 2011 21:43:25 +0000 (9 21:43 +0000)
treec678fc2a89dee0522a43e2cc18c62af79d82323a
parentc2e9a50dfb523964bd9d7598ee27b37669f9a5b8
AnalyzeBranch modifies the bb, but we don't want to modify a bb with
eh edges. Swap the order of the checks to avoid it.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@132806 91177308-0d34-0410-b5e6-96231b3b80d8
lib/CodeGen/TailDuplication.cpp