[XLA] Don't unnecessarily process buffers that got default mem allocations.
When processing buffers that are placed in tuples, we create (possibly redundant) additional tuple and gte instructions, which we later simplify. We don't need to create these additional instructions for buffers that were unchanged after memory space assignment. We were facing compile time and OOM issues without this change. PiperOrigin-RevId: 339972236 Change-Id: Ieb82767ed52d39260141f3e3179387fbf5783920
Showing
想要评论请 注册 或 登录