[llvm-commits] CVS: llvm/include/llvm/CodeGen/SelectionDAGNodes.h
Chris Lattner
lattner at cs.uiuc.edu
Sat Jan 8 11:50:03 PST 2005
Changes in directory llvm/include/llvm/CodeGen:
SelectionDAGNodes.h updated: 1.5 -> 1.6
---
Log message:
Silence VS warnings.
---
Diffs of the changes: (+3 -2)
Index: llvm/include/llvm/CodeGen/SelectionDAGNodes.h
diff -u llvm/include/llvm/CodeGen/SelectionDAGNodes.h:1.5 llvm/include/llvm/CodeGen/SelectionDAGNodes.h:1.6
--- llvm/include/llvm/CodeGen/SelectionDAGNodes.h:1.5 Sat Jan 8 02:08:49 2005
+++ llvm/include/llvm/CodeGen/SelectionDAGNodes.h Sat Jan 8 13:49:51 2005
@@ -269,7 +269,8 @@
/// computes it as well as which return value to use from that node. This pair
/// of information is represented with the SDOperand value type.
///
-struct SDOperand {
+class SDOperand {
+public:
SDNode *Val; // The node defining the value we are using.
unsigned ResNo; // Which return value of the node we are using.
@@ -463,7 +464,7 @@
int64_t getSignExtended() const {
unsigned Bits = MVT::getSizeInBits(getValueType(0));
- return ((int64_t)Value << 64-Bits) >> 64-Bits;
+ return ((int64_t)Value << (64-Bits)) >> (64-Bits);
}
bool isNullValue() const { return Value == 0; }
More information about the llvm-commits
mailing list