x86_64 ABI: Small static arrays are incorrectly promoted to registers #113

Closed
klickverbot opened this Issue Jun 6, 2012 · 0 comments

Comments

Projects
None yet
1 participant
@klickverbot
Owner

klickverbot commented Jun 6, 2012

LLVM's inreg causes [4 x i8] to be put into four registers instead of just into rdi as a single dword. Need to bitcast it to a single integer, as done for structs.

@ghost ghost assigned klickverbot Jun 6, 2012

redstar pushed a commit that referenced this issue Sep 27, 2014

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment