[llvm-commits] [llvm] r71926 - /llvm/trunk/lib/CodeGen/SelectionDAG/LegalizeTypes.cpp
Duncan Sands
baldrick at free.fr
Fri May 15 21:14:30 PDT 2009
Author: baldrick
Date: Fri May 15 23:14:29 2009
New Revision: 71926
URL: http://llvm.org/viewvc/llvm-project?rev=71926&view=rev
Log:
Put back a bit of expensive checking logic that
was overenthusiastically deleted in r70234.
Modified:
llvm/trunk/lib/CodeGen/SelectionDAG/LegalizeTypes.cpp
Modified: llvm/trunk/lib/CodeGen/SelectionDAG/LegalizeTypes.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/CodeGen/SelectionDAG/LegalizeTypes.cpp?rev=71926&r1=71925&r2=71926&view=diff
==============================================================================
--- llvm/trunk/lib/CodeGen/SelectionDAG/LegalizeTypes.cpp (original)
+++ llvm/trunk/lib/CodeGen/SelectionDAG/LegalizeTypes.cpp Fri May 15 23:14:29 2009
@@ -116,7 +116,7 @@
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;
More information about the llvm-commits
mailing list