aboutsummaryrefslogtreecommitdiff
path: root/utils/TableGen/InstrSelectorEmitter.cpp
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2004-11-05 04:50:59 +0000
committerChris Lattner <sabre@nondot.org>2004-11-05 04:50:59 +0000
commit141e3fd81d7362cb82a86782425c7057c449b2dc (patch)
tree095503a29f52d519ca2dd26c67df1b4594a09ebd /utils/TableGen/InstrSelectorEmitter.cpp
parent41ffe4b5313fe9c25a2aa91f01a9824d22c5351e (diff)
Quiet VC++ warnings
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17484 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'utils/TableGen/InstrSelectorEmitter.cpp')
-rw-r--r--utils/TableGen/InstrSelectorEmitter.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/utils/TableGen/InstrSelectorEmitter.cpp b/utils/TableGen/InstrSelectorEmitter.cpp
index 9a2ce4a6e8..e9c63441ae 100644
--- a/utils/TableGen/InstrSelectorEmitter.cpp
+++ b/utils/TableGen/InstrSelectorEmitter.cpp
@@ -344,7 +344,7 @@ bool Pattern::InferTypes(TreePatternNode *N, bool &MadeChange) {
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,