diff options
author | James Molloy <james.molloy@arm.com> | 2011-09-08 08:12:01 +0000 |
---|---|---|
committer | James Molloy <james.molloy@arm.com> | 2011-09-08 08:12:01 +0000 |
commit | 21d293a37fab73a657c7af1224a9286504ce054b (patch) | |
tree | d35b6c66ef15f61e43c4faf64d676e38d56aacf2 /llvm/utils/TableGen/FixedLenDecoderEmitter.cpp | |
parent | 2550ba2a271b92af80a94f4192f524d6fa10993d (diff) | |
download | bcm5719-llvm-21d293a37fab73a657c7af1224a9286504ce054b.tar.gz bcm5719-llvm-21d293a37fab73a657c7af1224a9286504ce054b.zip |
Fix warning on windows; use of comparison with bool argument.
llvm-svn: 139286
Diffstat (limited to 'llvm/utils/TableGen/FixedLenDecoderEmitter.cpp')
-rw-r--r-- | llvm/utils/TableGen/FixedLenDecoderEmitter.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/utils/TableGen/FixedLenDecoderEmitter.cpp b/llvm/utils/TableGen/FixedLenDecoderEmitter.cpp index 85f3dbfa5f6..61a0d614a47 100644 --- a/llvm/utils/TableGen/FixedLenDecoderEmitter.cpp +++ b/llvm/utils/TableGen/FixedLenDecoderEmitter.cpp @@ -854,7 +854,7 @@ bool FilterChooser::emitSingletonDecoder(raw_ostream &o, unsigned &Indentation, } o.indent(Indentation) << "if ("; - if (emitPredicateMatch(o, Indentation, Opc) > 0) { + if (emitPredicateMatch(o, Indentation, Opc)) { o << " &&\n"; o.indent(Indentation+4); } |