Re:LLVM-MOS 6502 Back end [pdf]
by zozbot234 on Saturday November 12, 2022 @10:45AM
(#33574108)
Interesting, but is there any chance that this might be upstreamed to LLVM proper? The 6502 is a well-understood ISA, so having an implementation for it might be quite convenient. The static stack allocation feature in this implementation (for non-reentrant functions) is also super cool and might be useful for more than just the 6502.
[ Parent
| on HN ]
Re:LLVM-MOS 6502 Back end [pdf]
by mysterymath on Sunday November 13, 2022 @06:14PM
(#33588383)
This has come up off and on, and it's looking increasingly unlikely. I've had to do some nasty surgery to the loop strength reduction pass, and I haven't yet found a way to generalize it.
Still, I'm not ruling it out, it just never seems to be very high on the TODO list. I've also started to do more work upstream whenever the situation calls for it; quite a few of the improvements we've done to LLVM do generalize to other targets, so much of that can and should be upstreamed indepenently.