llvm / clangir

A new (MLIR based) high-level IR for clang.
https://clangir.org
Other
307 stars 84 forks source link

[CIR][CodeGen] Basic skeleton of SPIRV64 target support #671

Closed seven-mile closed 1 week ago

seven-mile commented 3 weeks ago
seven-mile commented 3 weeks ago

I tried to make the part about ABI as minimal as possible so that some test cases in OpenCL can land. The ABI implementation is just using Direct & Extend for trivial arguments, which should be very easy to migrate. Looking forward to suggestions from Vinicius then😉

bcardosolopes commented 3 weeks ago

I tried to make the part about ABI as minimal as possible so that some test cases in OpenCL can land. The ABI implementation is just using Direct & Extend for trivial arguments, which should be very easy to migrate. Looking forward to suggestions from Vinicius then😉

Direct is fine, but extend might be doing more that it should for now, let's wait on @sitio-couto to coordinate how to go about this so you both are in sync.

bcardosolopes commented 2 weeks ago

@sitio-couto review ping!