[llvm-commits] CVS: llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp
Jeff Cohen
jeffc at jolt-lang.org
Tue Aug 30 19:47:17 PDT 2005
Changes in directory llvm/lib/CodeGen/SelectionDAG:
SelectionDAG.cpp updated: 1.180 -> 1.181
---
Log message:
Fix VC++ precedence warnings
---
Diffs of the changes: (+2 -2)
SelectionDAG.cpp | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
Index: llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp
diff -u llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp:1.180 llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp:1.181
--- llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp:1.180 Tue Aug 30 19:43:49 2005
+++ llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp Tue Aug 30 21:47:06 2005
@@ -632,13 +632,13 @@
// compare equal. In other words, they have to be all ones or all
// zeros.
uint64_t ExtBits =
- (~0ULL >> 64-ExtSrcTyBits) & (~0ULL << (ExtDstTyBits-1));
+ (~0ULL >> (64-ExtSrcTyBits)) & (~0ULL << (ExtDstTyBits-1));
if ((C2 & ExtBits) != 0 && (C2 & ExtBits) != ExtBits)
return getConstant(Cond == ISD::SETNE, VT);
// Otherwise, make this a use of a zext.
return getSetCC(VT, getZeroExtendInReg(N1.getOperand(0), ExtSrcTy),
- getConstant(C2 & (~0ULL >> 64-ExtSrcTyBits), ExtDstTy),
+ getConstant(C2 & (~0ULL>>(64-ExtSrcTyBits)), ExtDstTy),
Cond);
}
More information about the llvm-commits
mailing list