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

Evan Cheng evan.cheng at apple.com
Thu Mar 2 22:42:45 PST 2006



Changes in directory llvm/include/llvm/CodeGen:

SelectionDAGNodes.h updated: 1.107 -> 1.108
---
Log message:

SDOperand::isOperand should not be a forwarding. It must check *this against N's operands.

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

 SelectionDAGNodes.h |    7 +++----
 1 files changed, 3 insertions(+), 4 deletions(-)


Index: llvm/include/llvm/CodeGen/SelectionDAGNodes.h
diff -u llvm/include/llvm/CodeGen/SelectionDAGNodes.h:1.107 llvm/include/llvm/CodeGen/SelectionDAGNodes.h:1.108
--- llvm/include/llvm/CodeGen/SelectionDAGNodes.h:1.107	Fri Mar  3 00:24:54 2006
+++ llvm/include/llvm/CodeGen/SelectionDAGNodes.h	Fri Mar  3 00:42:32 2006
@@ -531,6 +531,9 @@
     return SDOperand(Val, R);
   }
 
+  // isOperand - Return true if this node is an operand of N.
+  bool isOperand(SDNode *N) const;
+
   /// getValueType - Return the ValueType of the referenced return value.
   ///
   inline MVT::ValueType getValueType() const;
@@ -542,7 +545,6 @@
   inline const SDOperand &getOperand(unsigned i) const;
   inline bool isTargetOpcode() const;
   inline unsigned getTargetOpcode() const;
-  inline const bool isOperand(SDNode *N) const;
 
   /// hasOneUse - Return true if there is exactly one operation using this
   /// result value of the defining operator.
@@ -941,9 +943,6 @@
 inline unsigned SDOperand::getTargetOpcode() const {
   return Val->getTargetOpcode();
 }
-inline const bool SDOperand::isOperand(SDNode *N) const {
-  return Val->isOperand(N);
-}
 inline bool SDOperand::hasOneUse() const {
   return Val->hasNUsesOfValue(1, ResNo);
 }






More information about the llvm-commits mailing list