[llvm-commits] CVS: llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp 
    Chris Lattner 
    lattner at cs.uiuc.edu
       
    Thu Feb  2 22:51:47 PST 2006
    
    
  
Changes in directory llvm/lib/CodeGen/SelectionDAG:
SelectionDAG.cpp updated: 1.252 -> 1.253
---
Log message:
remove dead fn
---
Diffs of the changes:  (+0 -11)
 SelectionDAG.cpp |   11 -----------
 1 files changed, 11 deletions(-)
Index: llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp
diff -u llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp:1.252 llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp:1.253
--- llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp:1.252	Thu Feb  2 19:33:01 2006
+++ llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp	Fri Feb  3 00:51:34 2006
@@ -43,17 +43,6 @@
   }
 }
 
-static bool isAssociativeBinOp(unsigned Opcode) {
-  switch (Opcode) {
-  case ISD::ADD:
-  case ISD::MUL:
-  case ISD::AND:
-  case ISD::OR:
-  case ISD::XOR: return true;
-  default: return false; // FIXME: Need associative info for user ops!
-  }
-}
-
 // isInvertibleForFree - Return true if there is no cost to emitting the logical
 // inverse of this node.
 static bool isInvertibleForFree(SDOperand N) {
    
    
More information about the llvm-commits
mailing list