Changes in directory llvm/lib/CodeGen/SelectionDAG:

LegalizeDAG.cpp updated: 1.296 -> 1.297
---
Log message:

Fix a bug in my legalizer reworking that caused the X86 backend to not get
a chance to custom legalize setcc, which broke a bunch of C++ Codes.  
Testcase here: CodeGen/X86/2006-01-30-LongSetcc.ll


---
Diffs of the changes:  (+1 -2)

 LegalizeDAG.cpp |    3 +--
 1 files changed, 1 insertion(+), 2 deletions(-)


Index: llvm/lib/CodeGen/SelectionDAG/LegalizeDAG.cpp
diff -u llvm/lib/CodeGen/SelectionDAG/LegalizeDAG.cpp:1.296 
llvm/lib/CodeGen/SelectionDAG/LegalizeDAG.cpp:1.297
--- llvm/lib/CodeGen/SelectionDAG/LegalizeDAG.cpp:1.296 Sun Jan 29 22:22:28 2006
+++ llvm/lib/CodeGen/SelectionDAG/LegalizeDAG.cpp       Mon Jan 30 16:43:50 2006
@@ -1465,8 +1465,7 @@
       }
     }
 
-    switch (TLI.getOperationAction(ISD::SETCC,
-                                   Node->getOperand(0).getValueType())) {
+    switch (TLI.getOperationAction(ISD::SETCC, Tmp1.getValueType())) {
     default: assert(0 && "Cannot handle this action for SETCC yet!");
     case TargetLowering::Custom:
       isCustom = true;



_______________________________________________
llvm-commits mailing list
llvm-commits@cs.uiuc.edu
http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits

Reply via email to