Commit dd39022b by Marek Polacek Committed by Marek Polacek

tree-if-conv.c (is_false_predicate): For NULL_TREE return false rather than true.

	* tree-if-conv.c (is_false_predicate): For NULL_TREE return false
	rather than true.

From-SVN: r235272
parent d7aa24e4
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
......
......@@ -267,9 +267,9 @@ ifc_temp_var (tree type, tree expr, gimple_stmt_iterator *gsi)
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. */
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment