diff options
author | Evan Cheng <evan.cheng@apple.com> | 2008-12-02 21:57:09 +0000 |
---|---|---|
committer | Evan Cheng <evan.cheng@apple.com> | 2008-12-02 21:57:09 +0000 |
commit | 96da0419490148e42dbab6984c07e28ec66a591d (patch) | |
tree | da5801037ba411dcb89545d407ef524e72e12421 /lib/CodeGen/SelectionDAG/LegalizeTypes.cpp | |
parent | fb10cd490195128d4d36ed9d963f173a6d6ca46e (diff) |
Remove a (what appears to be) overly strict assertion. Here is what happened:
1. ppcf128 select is expanded to f64 select's.
2. f64 select operand 0 is an i1 truncate, it's promoted to i32 zero_extend.
3. f64 select is updated. It's changed back to a "NewNode" and being re-analyzed.
4. f64 select operands are being processed. Operand 0 is a "NewNode". It's being expunged out of ReplacedValues map.
5. ExpungeNode tries to remap f64 select and notice it's a "NewNode" and assert.
Duncan, please take a look. Thanks.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@60443 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/SelectionDAG/LegalizeTypes.cpp')
-rw-r--r-- | lib/CodeGen/SelectionDAG/LegalizeTypes.cpp | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/lib/CodeGen/SelectionDAG/LegalizeTypes.cpp b/lib/CodeGen/SelectionDAG/LegalizeTypes.cpp index 9a22f09ee6..0573b6dd35 100644 --- a/lib/CodeGen/SelectionDAG/LegalizeTypes.cpp +++ b/lib/CodeGen/SelectionDAG/LegalizeTypes.cpp @@ -386,7 +386,6 @@ void DAGTypeLegalizer::RemapValue(SDValue &N) { RemapValue(I->second); N = I->second; } - assert(N.getNode()->getNodeId() != NewNode && "Mapped to unanalyzed node!"); } /// ExpungeNode - If N has a bogus mapping in ReplacedValues, eliminate it. |