[gcc]
2018-08-20 Will Schmidt <will_schmidt@vnet.ibm.com>
* config/rs6000/rs6000.c (fold_mergehl_helper): Add types_compatible_p
wrappers around TREE_TYPE comparisons.
From-SVN: r264145
+2018-09-06 Will Schmidt <will_schmidt@vnet.ibm.com>
+
+ * config/rs6000/rs6000.c (fold_mergehl_helper): Add types_compatible_p
+ wrappers around TREE_TYPE comparisons.
+
2018-09-06 Ilya Leoshkevich <iii@linux.ibm.com>
PR target/80080
permute_type = lhs_type;
else
{
- if (TREE_TYPE (lhs_type) == TREE_TYPE (V2DF_type_node))
+ if (types_compatible_p (TREE_TYPE (lhs_type),
+ TREE_TYPE (V2DF_type_node)))
permute_type = V2DI_type_node;
- else if (TREE_TYPE (lhs_type) == TREE_TYPE (V4SF_type_node))
+ else if (types_compatible_p (TREE_TYPE (lhs_type),
+ TREE_TYPE (V4SF_type_node)))
permute_type = V4SI_type_node;
else
gcc_unreachable ();