projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
64d80e3
)
Now this temp. fix is not required.
author
Devang Patel
<dpatel@apple.com>
Thu, 19 Jul 2007 02:22:21 +0000
(
02:22
+0000)
committer
Devang Patel
<dpatel@apple.com>
Thu, 19 Jul 2007 02:22:21 +0000
(
02:22
+0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@40034
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/Transforms/Utils/LCSSA.cpp
patch
|
blob
|
history
diff --git
a/lib/Transforms/Utils/LCSSA.cpp
b/lib/Transforms/Utils/LCSSA.cpp
index 220241df3356b7321a6f09d694f65ec4cb0f6dac..3f4bad5c5135893c67cdac4cf9bc6305344b90c8 100644
(file)
--- 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