This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug tree-optimization/65068] Improve rewriting for address type induction variables in IVOPT
- From: "ramana at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Tue, 25 Jul 2017 08:31:58 +0000
- Subject: [Bug tree-optimization/65068] Improve rewriting for address type induction variables in IVOPT
- Auto-submitted: auto-generated
- References: <bug-65068-4@http.gcc.gnu.org/bugzilla/>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65068
--- Comment #5 from Ramana Radhakrishnan <ramana at gcc dot gnu.org> ---
(In reply to amker from comment #4)
> Fixed now, we now generates below code for a72/a57:
> .L4:
> ldr w0, [x1]
> add w0, w0, 1
> str w0, [x1], 4
> cmp x1, x2
> bne .L4
>
>
> The original issue reported is that loop invariant expression is split thus
> can't be hoisted out of loop. I think comment 3 is a different issue.
> Closing this one.
Would you know what fixed this just for the audit trail ?
Ramana