From 748d9390b9739dadc48a775c7ea869c42b3f39a9 Mon Sep 17 00:00:00 2001 From: Wilco Dijkstra Date: Wed, 4 Oct 2017 16:40:44 +0000 Subject: Revert r253399: PR rtl-optimization/82396 * haifa-sched.c (autopref_multipass_init): Simplify initialization. (autopref_rank_data): Simplify sort order. * sched-int.h (autopref_multipass_data_): Remove multi_mem_insn_p, min_offset and max_offset. From-SVN: r253419 --- gcc/sched-int.h | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) (limited to 'gcc/sched-int.h') diff --git a/gcc/sched-int.h b/gcc/sched-int.h index 98174f7..2af8f9f 100644 --- a/gcc/sched-int.h +++ b/gcc/sched-int.h @@ -819,8 +819,15 @@ struct autopref_multipass_data_ /* Base part of memory address. */ rtx base; - /* Memory offset from the base. */ - int offset; + /* Memory offsets from the base. For single simple sets + only min_offset is valid. For multi-set insns min_offset + and max_offset record the minimum and maximum offsets from the same + base among the sets inside the PARALLEL. */ + int min_offset; + int max_offset; + + /* True if this is a load/store-multiple instruction. */ + bool multi_mem_insn_p; /* Entry status. */ enum autopref_multipass_data_status status; -- cgit v1.1