[llvm-commits] CVS: llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp
Jeff Cohen
jeffc at jolt-lang.org
Thu Aug 18 21:40:00 PDT 2005
Changes in directory llvm/lib/CodeGen/SelectionDAG:
SelectionDAG.cpp updated: 1.149 -> 1.150
---
Log message:
Fix VC++ precedence warning.
---
Diffs of the changes: (+1 -1)
SelectionDAG.cpp | 2 +-
1 files changed, 1 insertion(+), 1 deletion(-)
Index: llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp
diff -u llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp:1.149 llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp:1.150
--- llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp:1.149 Thu Aug 18 02:30:15 2005
+++ llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp Thu Aug 18 23:39:48 2005
@@ -1171,7 +1171,7 @@
if (Opcode == ISD::SRA) {
// If the sign bit is known to be zero, switch this to a SRL.
if (MaskedValueIsZero(N1,
- 1ULL << MVT::getSizeInBits(N1.getValueType())-1,
+ 1ULL << (MVT::getSizeInBits(N1.getValueType())-1),
TLI))
return getNode(ISD::SRL, N1.getValueType(), N1, N2);
} else {
More information about the llvm-commits
mailing list