3 ms·
Interesting, but is there any chance that this might be upstreamed to LLVM proper? The 6502 is a well-understood ISA, so having a backend for it might be quite
by zozbot234 4y ago
Interesting, but is there any chance that this might be upstreamed to LLVM proper? The 6502 is a well-understood ISA, so having a backend 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.
- mysterymath 4y agoThis 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.