[PATCH] Fix return sequence on armv4 thumb

Renato Golin renato.golin at linaro.org
Mon Aug 4 00:23:06 PDT 2014


Jon,

You probably have thought of it, but what's wrong with just "pop"ing it manually?

    pop {r4, r5, r6, r7}
    ldr lr, sp
    add sp, #4
    bx lr

http://reviews.llvm.org/D4748






More information about the llvm-commits mailing list