aboutsummaryrefslogtreecommitdiff
path: root/utils/TableGen/InstrSelectorEmitter.cpp
diff options
context:
space:
mode:
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,