diff options
author | Jeff Cohen <jeffc@jolt-lang.org> | 2005-08-31 02:47:06 +0000 |
---|---|---|
committer | Jeff Cohen <jeffc@jolt-lang.org> | 2005-08-31 02:47:06 +0000 |
commit | 7383ce4127f0e1d9ff4eaaa7dac8e71e02d860c6 (patch) | |
tree | a7613cf6ece62fdd8a84c4d764513fdbda5ffb4e /lib/CodeGen/SelectionDAG/SelectionDAG.cpp | |
parent | 49296f1f48251945635fcebf562331b5ca5eb9c5 (diff) |
Fix VC++ precedence warnings
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@23169 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/SelectionDAG/SelectionDAG.cpp')
-rw-r--r-- | lib/CodeGen/SelectionDAG/SelectionDAG.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/CodeGen/SelectionDAG/SelectionDAG.cpp b/lib/CodeGen/SelectionDAG/SelectionDAG.cpp index a44854e9e8..3ff1f77ff0 100644 --- a/lib/CodeGen/SelectionDAG/SelectionDAG.cpp +++ b/lib/CodeGen/SelectionDAG/SelectionDAG.cpp @@ -632,13 +632,13 @@ SDOperand SelectionDAG::SimplifySetCC(MVT::ValueType VT, SDOperand N1, // 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); } |