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
This commit is contained in:
parent
d7aa24e4bc
commit
dd39022b9e
|
@ -1,3 +1,8 @@
|
|||
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. */
|
||||
|
|
Loading…
Reference in New Issue