summaryrefslogtreecommitdiff
path: root/gcc/graphite-poly.h
diff options
context:
space:
mode:
authorspop <spop@138bc75d-0d04-0410-961f-82ee72b054a4>2011-01-25 06:46:56 +0000
committerspop <spop@138bc75d-0d04-0410-961f-82ee72b054a4>2011-01-25 06:46:56 +0000
commita0630a8dd179d8d45f92c73b0bf2aa387d4fca7a (patch)
tree48e8df046fc09b7412fb4f64ec2133c93d6eba78 /gcc/graphite-poly.h
parent07141610b44da6d4d59fb17e8d604650858d9b11 (diff)
downloadgcc-a0630a8dd179d8d45f92c73b0bf2aa387d4fca7a.tar.gz
Relax the definition of same_pdr_p.
2011-01-25 Sebastian Pop <sebastian.pop@amd.com> * graphite-dependences.c (new_poly_ddr): Call same_pdr_p. * graphite-poly.h (same_pdr_p): Do not expect that the PDR_TYPE of both data references to be the same. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@169210 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/graphite-poly.h')
-rw-r--r--gcc/graphite-poly.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/gcc/graphite-poly.h b/gcc/graphite-poly.h
index 8be905ef921..3bf87b088c9 100644
--- a/gcc/graphite-poly.h
+++ b/gcc/graphite-poly.h
@@ -301,8 +301,7 @@ pdr_may_write_p (poly_dr_p pdr)
static inline bool
same_pdr_p (poly_dr_p pdr1, poly_dr_p pdr2)
{
- return PDR_TYPE (pdr1) == PDR_TYPE (pdr2)
- && PDR_NB_SUBSCRIPTS (pdr1) == PDR_NB_SUBSCRIPTS (pdr2)
+ return PDR_NB_SUBSCRIPTS (pdr1) == PDR_NB_SUBSCRIPTS (pdr2)
&& PDR_BASE_OBJECT_SET (pdr1) == PDR_BASE_OBJECT_SET (pdr2);
}