Author: dpatel
Date: Wed Jul 18 21:22:21 2007
New Revision: 40034

URL: http://llvm.org/viewvc/llvm-project?rev=40034&view=rev
Log:
Now this temp. fix is not required.


Modified:
    llvm/trunk/lib/Transforms/Utils/LCSSA.cpp

Modified: llvm/trunk/lib/Transforms/Utils/LCSSA.cpp
URL: 
http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Transforms/Utils/LCSSA.cpp?rev=40034&r1=40033&r2=40034&view=diff

==============================================================================
--- llvm/trunk/lib/Transforms/Utils/LCSSA.cpp (original)
+++ llvm/trunk/lib/Transforms/Utils/LCSSA.cpp Wed Jul 18 21:22:21 2007
@@ -231,10 +231,6 @@
 
   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


_______________________________________________
llvm-commits mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits

Reply via email to