streamline TARGET_MEM_REF dumping
authorRichard Biener <rguenther@suse.de>
Thu, 27 Aug 2020 11:04:19 +0000 (13:04 +0200)
committerRichard Biener <rguenther@suse.de>
Thu, 27 Aug 2020 11:08:13 +0000 (13:08 +0200)
commit9ceb3b8d8f6dd088f3efd590aae9e54a265e5b07
tree72e28009a0387602d3b70e6e3cdaa3fab74b7b89
parent6b3034eaba83935d9f6dfb20d2efbdb34b5b00bf
streamline TARGET_MEM_REF dumping

The following streamlines TARGET_MEM_REF dumping building
on what we do for MEM_REF and thus dumping things like
access type, TBAA type and base/clique.  I've changed it
to do semantic dumping aka base + offset + step * index
rather than the odd base: A, step: way.

2020-08-27  Richard Biener  <rguenther@suse.de>

* tree-pretty-print.c (dump_mem_ref): Handle TARGET_MEM_REFs.
(dump_generic_node): Use dump_mem_ref also for TARGET_MEM_REF.

* gcc.dg/tree-ssa/loop-19.c: Adjust.
* gcc.dg/tree-ssa/loop-2.c: Likewise.
* gcc.dg/tree-ssa/loop-3.c: Likewise.
gcc/testsuite/gcc.dg/tree-ssa/loop-19.c
gcc/testsuite/gcc.dg/tree-ssa/loop-2.c
gcc/testsuite/gcc.dg/tree-ssa/loop-3.c
gcc/tree-pretty-print.c