[llvm-dev] error: couldn't allocate input reg for constraint '{xmm0}'

Joerg Sonnenberger via llvm-dev llvm-dev at lists.llvm.org
Sat Nov 17 14:00:48 PST 2018


On Sat, Nov 17, 2018 at 04:43:15PM -0500, Andrew Kelley via llvm-dev wrote:
> I think that's good! My only concern is whether LLVM respected the
> alignment requirement of movups instruction. I suppose the calling
> convention requires %rbp to be aligned to 16 already, and so
> -0x10(%rbp) will be also guaranteed to be 16 bytes aligned?

Yes, the calling convention guarantees a fixed stack alignment on
entrance.

Joerg


More information about the llvm-dev mailing list