Fix warning on windows; use of comparison with bool argument.
llvm-svn: 139286
diff --git a/llvm/utils/TableGen/FixedLenDecoderEmitter.cpp b/llvm/utils/TableGen/FixedLenDecoderEmitter.cpp
index 85f3dbf..61a0d61 100644
--- a/llvm/utils/TableGen/FixedLenDecoderEmitter.cpp
+++ b/llvm/utils/TableGen/FixedLenDecoderEmitter.cpp
@@ -854,7 +854,7 @@
}
o.indent(Indentation) << "if (";
- if (emitPredicateMatch(o, Indentation, Opc) > 0) {
+ if (emitPredicateMatch(o, Indentation, Opc)) {
o << " &&\n";
o.indent(Indentation+4);
}