Expand the check for a landing pad so that it looks at the basic block's
authorBill Wendling <isanbard@gmail.com>
Wed, 12 Oct 2011 02:58:01 +0000 (02:58 +0000)
committerBill Wendling <isanbard@gmail.com>
Wed, 12 Oct 2011 02:58:01 +0000 (02:58 +0000)
commita2e87912d826b1843bb5b1058670f09b87aea905
treee5244a9e846cdeb3415561d45d83e81f21dac910
parent22e8a366adf5a4c78148928ff64e7e00c1088492
Expand the check for a landing pad so that it looks at the basic block's
containing loop's header to see if that's a landing pad. If it is, then we don't
want to hoist instructions out of the loop and above the header.

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