[clang] [llvm] [mlir] [LLVM/Clang/MLIR] Overload Switch-ABI coroutine intrinsics over pointer address space (PR #245324)

Vlad Sytchenko via cfe-commits cfe-commits at lists.llvm.org
Wed Dec 2 18:55:56 PST 2026


vsytch wrote:

> > > Out of curiosity, what's the use case? Or how did you find this?
> > 
> > 
> > On TPUs we don't use 0 for the default address space, as that would be ambiguous across call boundaries, since the cores on chip are not homogeneous.
> 
> Interesting. I didn't know coroutines are useful on devices in TPU. Are there any materials I can read?

Please see https://docs.jax.dev/en/latest/pallas/tpu/distributed.html.

https://github.com/llvm/llvm-project/pull/245324


More information about the cfe-commits mailing list