[llvm-commits] CVS: llvm/include/llvm/CodeGen/SelectionDAG.h

Nate Begeman natebegeman at mac.com
Fri Aug 12 23:14:29 PDT 2005



Changes in directory llvm/include/llvm/CodeGen:

SelectionDAG.h updated: 1.35 -> 1.36
---
Log message:

Remove an unncessary argument to SimplifySelectCC and add an additional
assert when creating a select_cc node.


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

 SelectionDAG.h |    5 ++---
 1 files changed, 2 insertions(+), 3 deletions(-)


Index: llvm/include/llvm/CodeGen/SelectionDAG.h
diff -u llvm/include/llvm/CodeGen/SelectionDAG.h:1.35 llvm/include/llvm/CodeGen/SelectionDAG.h:1.36
--- llvm/include/llvm/CodeGen/SelectionDAG.h:1.35	Sat Aug 13 01:00:21 2005
+++ llvm/include/llvm/CodeGen/SelectionDAG.h	Sat Aug 13 01:14:17 2005
@@ -222,9 +222,8 @@
   /// SimplifySelectCC - Try to simplify a select_cc built with the specified
   /// operands and cc.  This can be used to simplify both the select_cc node,
   /// and a select node whose first operand is a setcc.
-  SDOperand SimplifySelectCC(MVT::ValueType VT, ISD::CondCode CC,
-                             SDOperand N1, SDOperand N2, SDOperand N3,
-                             SDOperand N4);
+  SDOperand SimplifySelectCC(SDOperand N1, SDOperand N2, SDOperand N3,
+                             SDOperand N4, ISD::CondCode CC);
     
   // Maps to auto-CSE operations.
   std::map<std::pair<unsigned, std::pair<SDOperand, MVT::ValueType> >,






More information about the llvm-commits mailing list