Commit 60129268 authored by Adrian Kuegel's avatar Adrian Kuegel Committed by TensorFlower Gardener
Browse files

Work towards enforcing to pass the shape to IrArray::Index constructors.

Instead of creating an IrArray::Index with multim initialized to nullptr,
create a std::vector<llvm::Value*> and once it is initialized, create an
IrArray::Index with shape information.
For scalar shapes, we still allow to call the IrArray::Index constructor with
passing just the index type.
PiperOrigin-RevId: 238399424
parent a43b9e1a
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment