diff options
author | Richard Sandiford <richard.sandiford@arm.com> | 2019-04-29 15:17:01 +0000 |
---|---|---|
committer | Richard Sandiford <rsandifo@gcc.gnu.org> | 2019-04-29 15:17:01 +0000 |
commit | 074084767c9d7c4d52d919c343b65bb61c564096 (patch) | |
tree | 2b208542a01c6d0a15ef892e61ecf858e99d9fe3 /gcc/tree-data-ref.h | |
parent | 1008df90cca4a4f49f2a898115f8756fafff3187 (diff) | |
download | gcc-074084767c9d7c4d52d919c343b65bb61c564096.zip gcc-074084767c9d7c4d52d919c343b65bb61c564096.tar.gz gcc-074084767c9d7c4d52d919c343b65bb61c564096.tar.bz2 |
Remove DDR_INNER_LOOP
...since it was only ever zero in practice. I wondered about making
it a symbolic constant instead, but it didn't seem worth it when
there was only one user (and that user was part of the internal
tree-data-ref.c implementation).
2019-04-29 Richard Sandiford <richard.sandiford@arm.com>
gcc/
* tree-data-ref.h (data_dependence_relation::inner_loop): Delete.
(DDR_INNER_LOOP): Likewise.
* tree-data-ref.c (dump_data_dependence_relation): Update accordingly.
(initialize_data_dependence_relation): Likewise.
(insert_innermost_unit_dist_vector): Use 0 instead of DDR_INNER_LOOP.
From-SVN: r270654
Diffstat (limited to 'gcc/tree-data-ref.h')
-rw-r--r-- | gcc/tree-data-ref.h | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/gcc/tree-data-ref.h b/gcc/tree-data-ref.h index 2a5082d..ab44d07 100644 --- a/gcc/tree-data-ref.h +++ b/gcc/tree-data-ref.h @@ -347,10 +347,6 @@ struct data_dependence_relation /* The classic distance vector. */ vec<lambda_vector> dist_vects; - /* An index in loop_nest for the innermost loop that varies for - this data dependence relation. */ - unsigned inner_loop; - /* Is the dependence reversed with respect to the lexicographic order? */ bool reversed_p; @@ -406,7 +402,6 @@ typedef struct data_dependence_relation *ddr_p; /* The size of the direction/distance vectors: the number of loops in the loop nest. */ #define DDR_NB_LOOPS(DDR) (DDR_LOOP_NEST (DDR).length ()) -#define DDR_INNER_LOOP(DDR) (DDR)->inner_loop #define DDR_SELF_REFERENCE(DDR) (DDR)->self_reference_p #define DDR_DIST_VECTS(DDR) ((DDR)->dist_vects) |