This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug tree-optimization/65068] Improve rewriting for address type induction variables in IVOPT


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65068

amker at gcc dot gnu.org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |FIXED

--- Comment #4 from amker at gcc dot gnu.org ---
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.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]