[LLVMdev] Argument Lowering

dag at cray.com dag at cray.com
Mon Feb 11 16:40:44 PST 2013


We all know that LLVM codegen doesn't handle struct arguments...er...at
all.  Frontend code has to do a bunch of ABI lowering to make it work.

Can anyone explain why LLVM can't do it?  I've read vague hints of, "not
all the information is there," but I'd really like to understand this
better.  Is there something we can do to make proper argument handling
possible within LLVM?  It would save a lot of duplicated work for a lot
of people.

                            -David



More information about the llvm-dev mailing list