Return Undef if the block has no dominator. This was required to allow
authorReid Spencer <rspencer@reidspencer.com>
Mon, 16 Jul 2007 21:03:44 +0000 (21:03 +0000)
committerReid Spencer <rspencer@reidspencer.com>
Mon, 16 Jul 2007 21:03:44 +0000 (21:03 +0000)
commitbde6869ef4bf1c8b1c620c570ea340c8b2d3d269
tree1008426d6e33e154c20e7c1c566951d27805129f
parent384152444d22d356f7b4090a158da4cbc1f79464
Return Undef if the block has no dominator. This was required to allow
llvm-gcc build to succeed. Without this change it fails in libstdc++
compilation. This causes no regressions in dejagnu tests. However,
someone who knows this code better might want to review it.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@39924 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Transforms/Utils/LCSSA.cpp