[llvm-dev] LLVM z80 backend and llvm-dis missing?

Jan Wilmans via llvm-dev llvm-dev at lists.llvm.org
Wed Oct 12 11:23:57 PDT 2016


If I understand correctly, this LLVM backend outputs C ?
So for me purpose the process would work like :

C++ -> clang -> LLVM-C-backend -> C -> SDCC -> z80 assembly?

and I read that a current problem is that the 'volatile' keyword gets
dropped, that last bit sound like it would actually defeat the whole
purpose of the exercise ?
volatile is kindof essential to working with the z80' memory-mapped-IOs?

Anyway, thanks for your suggestion, I will definitely check it out!


Greetings,

Jan




> The easiest to get C++17 on the Z80 is probably using the experimental
> LLVM+SDCC toolchain:
> https://sourceforge.net/p/sdcc/mailman/message/35382805/
> Though there is still some work to be done it should be much easier to
> make useable for you than to get full Z80 support in LLVM itself.
>
> Philipp
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20161012/2da9a213/attachment.html>


More information about the llvm-dev mailing list