* tree-if-conv.c (is_false_predicate): For NULL_TREE return false
rather than true.
From-SVN: r235272
+2016-04-20 Marek Polacek <polacek@redhat.com>
+
+ * tree-if-conv.c (is_false_predicate): For NULL_TREE return false
+ rather than true.
+
2016-04-20 Ilya Enkovich <ilya.enkovich@intel.com>
* config/i386/sse.md (vec_unpacks_lo_hi): Always
static inline bool
is_false_predicate (tree cond)
{
- return (cond == NULL_TREE
- || cond == boolean_false_node
- || integer_zerop (cond));
+ return (cond != NULL_TREE
+ && (cond == boolean_false_node
+ || integer_zerop (cond)));
}
/* Return true when COND is a true predicate. */