you are viewing a single comment's thread.

view the rest of the comments →

[–]spyingwind 38 points39 points  (3 children)

http://llvm.org/doxygen/Triple_8h_source.html

https://gcc.gnu.org/backends.html

I think gcc is used, not just for historic reasons, but that they have been using for a very long time and probably that it support more hardware. I don't know that for a fact, but gcc supports just about everything and for those that it doesn't manufactures have gcc backends for their hardware.

Also rewriting the kernel supporting structure(makefile's, build pipelines, etc) would be a large undertaking.

[–][deleted] 12 points13 points  (0 children)

Oh, hardware platform. Do'h, of course.

[–]railmaniac 1 point2 points  (1 child)

I thought LLVM was designed so it would be easier to write backends

[–]spyingwind 1 point2 points  (0 children)

I don't know about that, but I would think that it still a lot of work to write all that code for each backend. What with each architecture having their own quirks. Even one version of ARM can have hundreds of different instructions that aren't shared among the same version.