https://bugs.llvm.org/show_bug.cgi?id=41001

Eli Friedman <efrie...@quicinc.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|RESOLVED                    |REOPENED
         Resolution|INVALID                     |---

--- Comment #3 from Eli Friedman <efrie...@quicinc.com> ---
You only get assembly like that for iOS targets.  For other targets, it looks
like this:

// %bb.0:                               // %entry
        sub     sp, sp, #32             // =32
        stp     x29, x30, [sp, #16]     // 16-byte Folded Spill
        add     x29, sp, #16            // =16
        .cfi_def_cfa w29, 16
        .cfi_offset w30, -8
        .cfi_offset w29, -16
        mov     w8, #-1
        str     x0, [sp, #8]
        ldr     x0, [sp, #8]
        str     x0, [sp]                // 8-byte Folded Spill
        mov     w0, w8
        ldr     x9, [sp]                // 8-byte Folded Reload
        blr     x9
        ldp     x29, x30, [sp, #16]     // 16-byte Folded Reload
        add     sp, sp, #32             // =32
        ret

-- 
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
llvm-bugs mailing list
llvm-bugs@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs

Reply via email to