[LLVMbugs] [Bug 10614] Redundant load of address of array

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Sat Nov 10 09:27:20 PST 2012


Benjamin Kramer <benny.kra at gmail.com> changed:

           What    |Removed                     |Added
             Status|NEW                         |RESOLVED
                 CC|                            |benny.kra at gmail.com
         Resolution|                            |FIXED

--- Comment #6 from Benjamin Kramer <benny.kra at gmail.com> 2012-11-10 11:27:20 CST ---
MachineCSE gets this in trunk:

    movl    %esi, %eax
    leaq    __ZL10PowersOf10(%rip), %rcx
    movl    (%rcx,%rax,4), %eax
    cmpl    %edi, %eax
    jbe    LBB0_2
## BB#1:                                ## %if.then
    decl    %esi
    movl    (%rcx,%rsi,4), %eax
LBB0_2:                                 ## %return
    popq    %rbp

(Probably due to the fix for PR13578)

Configure bugmail: http://llvm.org/bugs/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.

More information about the llvm-bugs mailing list