Skip to content
Commit 515ce1e6 authored by Nicolas Vasilache's avatar Nicolas Vasilache Committed by jpienaar
Browse files

Add edsc::Indexed helper struct to act as syntactic sugar

This CL adds edsc::Indexed.

This helper class exists purely for sugaring purposes and allows writing
expressions such as:

```mlir
   Indexed A(...), B(...), C(...);
   ForNest(ivs, zeros, shapeA, ones, {
     C[ivs] = A[ivs] + B[ivs]
   });
```

PiperOrigin-RevId: 229388644
parent 25d5b895
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment