Daniel Thornburgh
Daniel Thornburgh
It looks very much like there's now code in CallLowering that could do the sret lowering needed for this, so reopening.
Note that this task requires adding parsing and machine code generation for these instructions to LLVM-MOS; it's not just a matter of turning them on.
See also #54.
Sounds reasonable, since we don't need stack unwinders to work on the 6502. Shouldn't be too difficult to fix.
It looks like there may be support already in LLVM for this: see determineCalleeSaves in TargetFrameLoweringImpl.cpp. It may just be a matter of turning it on.
Don't think that's quite right; the reason that its not saving the callee-saved-registers rc20 and rc21 if there's only one function call is that there's no need to use those...
Closed by PR #227.
The discrepancy appears to be due to the use of dynamic linking in distribution binaries. Both our distribution and the LLVM standalone distribution (their Github Releases) use static linking, so...
Yeah, we can't take any action until we have installables on POSIX.
Of these, (2) seems like the one that would provide the most utility: the ability to mix existing cc65 libraries, ASM code, and linker scripts with llvm-mos generated code, without...