Is LLVM compatible with AMD?

Hi all!

I’m getting starting with LLVM, and I’m creating a new cross-platform programming language LLVM-based with a Standard Library POSIX-based. The language has sintatic sugar of Object Pascal and Ruby.

My doubt is if LLVM is compatible with AMD (e.g. Fusion), allowing so that my StdLib can be used to create Games, in future…

Regards!

Hi all!

I’m getting starting with LLVM, and I’m creating a new cross-platform programming language LLVM-based with a Standard Library POSIX-based. The language has sintatic sugar of Object Pascal and Ruby.

My doubt is if LLVM is compatible with AMD (e.g. Fusion), allowing so that my StdLib can be used to create Games, in future…

[Villmow, Micah] AMD uses LLVM for its OpenCL compilers which run on Fusion parts and LLVM itself can generate X86 code. However, there currently is no way to target the X86 GPU’s directly. You might want to look at the Gallium3D project(Linux only) for a way to do this.

Regards!

You can find out about OpenCL here:

http://www.khronos.org/opencl/

That being said, AMD OpenCL is not a target of LLVM. AMD uses LLVM for its optimizer and code generation paths for the OpenCL compiler.

Micah

Villmow, excuse me about the previous reply. :blush:

So, I’m thinking about OpenGL, or other generic graphical libraries.

2011/8/26 Villmow, Micah <Micah.Villmow@amd.com>

You should check out the Gallium3D project as I mentioned below. They are using LLVM for their graphics language compilation.

Micah