Remove FIXME about asserting on the end iterator
authorReid Kleckner <rnk@google.com>
Thu, 11 Aug 2016 16:00:43 +0000 (16:00 +0000)
committerReid Kleckner <rnk@google.com>
Thu, 11 Aug 2016 16:00:43 +0000 (16:00 +0000)
commit26f9e9ebc3224a82287e9eeed9262fbc31784e28
tree75cc2c5df1f5e4f7bdf14094cad5bdb28f069cf8
parentfdfde19985911ed9fd1fc02bd7683b95ba204d91
Remove FIXME about asserting on the end iterator

After machine block placement, MBBs may not have terminators, and it is
appropriate to check for the end iterator here. We can fold the check
into the next if, as well. This look is really just looking for BBs that
end in CATCHRET.

llvm-svn: 278350
llvm/lib/CodeGen/Analysis.cpp