[PATCH] Fix return sequence on armv4 thumb

Renato Golin renato.golin at linaro.org
Mon Aug 4 01:17:42 PDT 2014


Of course. I keep forgetting Thumb1 is that restrictive, and the v5 manual is not particularly descriptive. :(

The generated code looks horrible, but I guess that's Thumb1's fault, I can't think of anything better. I also like the conditional between larger return values and v5T vs. v4T lowering.

I have no more comments, if Tim agrees, this patch looks good to go to me.

cheers,
--renato

http://reviews.llvm.org/D4748






More information about the llvm-commits mailing list