[cfe-dev] making the SPIR target work

Pekka Jääskeläinen pekka.jaaskelainen at tut.fi
Tue Nov 18 02:18:51 PST 2014


Hi,

On 11/17/2014 03:48 AM, Ribulous Barnulous wrote:
> Do anyone see any obstacles to checking in these pieces? or know why they
> haven't been committed already?

I think the main problem is the fact that the SPIR format is fixed to
the IR produced by certain LLVM versions. So, if later LLVM versions
have changes in the IR output, it might not produce valid SPIR
binaries anymore.

SPIR 1.2 is fixed to LLVM 3.2 IR and SPIR 2.0 to LLVM 3.4.

However, if there are other non-SPIR-specific features in that branch,
I hope Someone breaks them up in smaller patches so they get reviewed and
upstreamed.

-- 
Pekka



More information about the cfe-dev mailing list