[XLA] Fix zero sized HLO elimination to handle instructions without layouts.
The zero sized HLO elimination pass is run before layout assignment and may encounter instructions without layouts. Fix the pass to use a default layout to create the resulting literal when the instruction doesn't have a layout. Add a test case. PiperOrigin-RevId: 230371248
Loading
Please sign in to comment