Fix dumping of VEC_WIDEN_{PLUS,MINUS}_{LO,HI}_EXPR
authorRichard Biener <rguenther@suse.de>
Tue, 26 Jan 2021 12:51:50 +0000 (13:51 +0100)
committerRichard Biener <rguenther@suse.de>
Tue, 26 Jan 2021 13:27:23 +0000 (14:27 +0100)
This avoids dumping them as <<< ??? >>>.

2021-01-26  Richard Biener  <rguenther@suse.de>

* gimple-pretty-print.c (dump_binary_rhs): Handle
VEC_WIDEN_{PLUS,MINUS}_{LO,HI}_EXPR.

gcc/gimple-pretty-print.c

index 1096f7b8dbe62d73fa7a1f8061b8395dddfd631b..0ef01e6420bcbacbee7e93ebb0810ac2a47de836 100644 (file)
@@ -458,6 +458,10 @@ dump_binary_rhs (pretty_printer *buffer, const gassign *gs, int spc,
     case VEC_PACK_FLOAT_EXPR:
     case VEC_WIDEN_LSHIFT_HI_EXPR:
     case VEC_WIDEN_LSHIFT_LO_EXPR:
+    case VEC_WIDEN_PLUS_HI_EXPR:
+    case VEC_WIDEN_PLUS_LO_EXPR:
+    case VEC_WIDEN_MINUS_HI_EXPR:
+    case VEC_WIDEN_MINUS_LO_EXPR:
     case VEC_SERIES_EXPR:
       for (p = get_tree_code_name (code); *p; p++)
        pp_character (buffer, TOUPPER (*p));