public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
From: "dorit at il dot ibm dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug tree-optimization/32075] can't determine dependence between p->a[x+i] and p->a[x+i+1] where x is invariant but defined in the function
Date: Mon, 18 Jun 2007 11:04:00 -0000	[thread overview]
Message-ID: <20070618110354.24398.qmail@sourceware.org> (raw)
In-Reply-To: <bug-32075-6528@http.gcc.gnu.org/bugzilla/>



------- Comment #2 from dorit at il dot ibm dot com  2007-06-18 11:03 -------
I see this in the vectorizer dump file (with mainline from a few days ago):

(compute_affine_dependence
  (stmt_a =
D.3027_19 = p_7->a[D.3026_18])
  (stmt_b =
p_7->a[D.3025_17] = D.3027_19)
Data ref a:
(Data Ref:
  stmt: D.3027_19 = p_7->a[D.3026_18];
  ref: p_7->a[D.3026_18];
  base_object: p_7->a[0];
  Access function 0: {x1_5 + 1, +, 1}_2
  Access function 1: 0B
)
Data ref b:
(Data Ref:
  stmt: p_7->a[D.3025_17] = D.3027_19;
  ref: p_7->a[D.3025_17];
  base_object: p_7->a[0];
  Access function 0: {x1_5, +, 1}_2
  Access function 1: 0B
)
affine dependence test not usable: access function not affine or constant.
(dependence classified: scev_not_known)
)

(In reply to comment #1)
> Ok, I have a patch for this issue, I am going to test it with -ftree-vectorize

so how is that coming along? do you think it will also address PRs
32375/6/7/8/9 ?


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=32075


  parent reply	other threads:[~2007-06-18 11:04 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-05-24 21:56 [Bug tree-optimization/32075] New: " pinskia at gcc dot gnu dot org
2007-05-25  1:06 ` [Bug tree-optimization/32075] " pinskia at gcc dot gnu dot org
2007-06-18 11:04 ` dorit at il dot ibm dot com [this message]
2007-06-20 16:57 ` spop at gcc dot gnu dot org
2007-06-20 23:42 ` spop at gcc dot gnu dot org
2007-06-20 23:45 ` spop at gcc dot gnu dot org
2007-06-21 21:05 ` ubizjak at gmail dot com
2007-06-24  4:07 ` pinskia at gcc dot gnu dot org

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20070618110354.24398.qmail@sourceware.org \
    --to=gcc-bugzilla@gcc.gnu.org \
    --cc=gcc-bugs@gcc.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).