diff options
| author | Duncan Sands <baldrick@free.fr> | 2009-05-16 04:14:29 +0000 |
|---|---|---|
| committer | Duncan Sands <baldrick@free.fr> | 2009-05-16 04:14:29 +0000 |
| commit | 83d008614fc25e21406d306070640d1c2ada3501 (patch) | |
| tree | 582e2aa60f169cbf5fc57c2f5e00fb3085b74d75 /llvm/lib | |
| parent | 81e053a739e1587344855ad42435ccacc4f1075f (diff) | |
| download | bcm5719-llvm-83d008614fc25e21406d306070640d1c2ada3501.tar.gz bcm5719-llvm-83d008614fc25e21406d306070640d1c2ada3501.zip | |
Put back a bit of expensive checking logic that
was overenthusiastically deleted in r70234.
llvm-svn: 71926
Diffstat (limited to 'llvm/lib')
| -rw-r--r-- | llvm/lib/CodeGen/SelectionDAG/LegalizeTypes.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/CodeGen/SelectionDAG/LegalizeTypes.cpp b/llvm/lib/CodeGen/SelectionDAG/LegalizeTypes.cpp index dc0f7957d7f..f699fd6e307 100644 --- a/llvm/lib/CodeGen/SelectionDAG/LegalizeTypes.cpp +++ b/llvm/lib/CodeGen/SelectionDAG/LegalizeTypes.cpp @@ -116,7 +116,7 @@ void DAGTypeLegalizer::PerformExpensiveChecks() { cerr << "Unprocessed value in a map!"; Failed = true; } - } else if (isTypeLegal(Res.getValueType())) { + } else if (isTypeLegal(Res.getValueType()) || IgnoreNodeResults(I)) { if (Mapped > 1) { cerr << "Value with legal type was transformed!"; Failed = true; |

