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: Wed, 24 Aug 2016 08:43:15 +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 #2 from Ramana Radhakrishnan <ramana at gcc dot gnu.org> ---
And by default we see this
.L4:
add x3, x5, x1
add x1, x1, 1
ldr w2, [x4, x3, lsl 2]
cmp w0, w1
add w2, w2, 1
str w2, [x4, x3, lsl 2]
bgt .L4
- Costs ?