diff options
author | Devang Patel <dpatel@apple.com> | 2007-07-19 02:22:21 +0000 |
---|---|---|
committer | Devang Patel <dpatel@apple.com> | 2007-07-19 02:22:21 +0000 |
commit | 72ea8d9060977db557cdeb39a9de198af087951c (patch) | |
tree | b662ffd9e08eac45c855839ba6963e7d712a01a3 /lib/Transforms | |
parent | 64d80e3387f328d21cd9cc06464b5de7861e3f27 (diff) | |
download | external_llvm-72ea8d9060977db557cdeb39a9de198af087951c.zip external_llvm-72ea8d9060977db557cdeb39a9de198af087951c.tar.gz external_llvm-72ea8d9060977db557cdeb39a9de198af087951c.tar.bz2 |
Now this temp. fix is not required.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@40034 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Transforms')
-rw-r--r-- | lib/Transforms/Utils/LCSSA.cpp | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/lib/Transforms/Utils/LCSSA.cpp b/lib/Transforms/Utils/LCSSA.cpp index 220241d..3f4bad5 100644 --- a/lib/Transforms/Utils/LCSSA.cpp +++ b/lib/Transforms/Utils/LCSSA.cpp @@ -231,10 +231,6 @@ Value *LCSSA::GetValueForBlock(DomTreeNode *BB, Instruction *OrigInst, DomTreeNode *IDom = BB->getIDom(); - // If the block has no dominator, bail - if (!IDom) - return V = UndefValue::get(OrigInst->getType()); - // Otherwise, there are two cases: we either have to insert a PHI node or we // don't. We need to insert a PHI node if this block is not dominated by one // of the exit nodes from the loop (the loop could have multiple exits, and |