[llvm-commits] CVS: llvm/utils/TableGen/InstrSelectorEmitter.cpp Record.cpp
Chris Lattner
lattner at persephone.cs.uiuc.edu
Thu Nov 4 20:48:53 PST 2004
Changes in directory llvm/utils/TableGen:
InstrSelectorEmitter.cpp updated: 1.42 -> 1.43
Record.cpp updated: 1.37 -> 1.38
---
Log message:
Quiet VC++ warnings
---
Diffs of the changes: (+2 -2)
Index: llvm/utils/TableGen/InstrSelectorEmitter.cpp
diff -u llvm/utils/TableGen/InstrSelectorEmitter.cpp:1.42 llvm/utils/TableGen/InstrSelectorEmitter.cpp:1.43
--- llvm/utils/TableGen/InstrSelectorEmitter.cpp:1.42 Wed Sep 1 17:55:40 2004
+++ llvm/utils/TableGen/InstrSelectorEmitter.cpp Thu Nov 4 22:48:38 2004
@@ -344,7 +344,7 @@
break;
}
- return AnyUnset | N->getType() == MVT::Other;
+ return AnyUnset | (N->getType() == MVT::Other);
}
/// clone - This method is used to make an exact copy of the current pattern,
Index: llvm/utils/TableGen/Record.cpp
diff -u llvm/utils/TableGen/Record.cpp:1.37 llvm/utils/TableGen/Record.cpp:1.38
--- llvm/utils/TableGen/Record.cpp:1.37 Fri Oct 8 09:59:05 2004
+++ llvm/utils/TableGen/Record.cpp Thu Nov 4 22:48:38 2004
@@ -67,7 +67,7 @@
if (Value & ~((1LL << Size)-1))
return 0;
} else {
- if ((Value >> Size) != -1 || ((Value & (1 << Size-1)) == 0))
+ if ((Value >> Size) != -1 || ((Value & (1 << (Size-1))) == 0))
return 0;
}
More information about the llvm-commits
mailing list